File tree 1 file changed +2
-2
lines changed 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 380
380
replaced with `value`
381
381
- str: string exactly matching `to_replace` will be replaced
382
382
with `value`
383
- - regex: regexs matching `to_replace` will be replaced with
383
+ - regex: regexes matching `to_replace` will be replaced with
384
384
`value`
385
385
386
386
* list of str, regex, or numeric:
387
387
388
388
- First, if `to_replace` and `value` are both lists, they
389
389
**must** be the same length.
390
390
- Second, if ``regex=True`` then all of the strings in **both**
391
- lists will be interpreted as regexs otherwise they will match
391
+ lists will be interpreted as regexes otherwise they will match
392
392
directly. This doesn't matter much for `value` since there
393
393
are only a few possible substitution regexes you can use.
394
394
- str, regex and numeric rules apply as above.
You can’t perform that action at this time.
0 commit comments