aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md10
1 files changed, 6 insertions, 4 deletions
diff --git a/README.md b/README.md
index a0db473..39abf8c 100644
--- a/README.md
+++ b/README.md
@@ -106,16 +106,18 @@ The following options are implemented:
- `E` enables expansion of pattern before compilation. Note that you will need
to use `$$` instead `$` for matching end of line in this case;
-- `g` enables global search, like in Perl. Space separated list of all matched
- substrings will be returned;
+- `g` enables global search, like in Perl. `pcre_find` will return space
+ separated list of all matched substrings; `pcre_subst` will replace all
+ matched substrings expanding replacement string before each substitution;
- `i` makes search case insensitive. The same as in Perl;
- `m` makes regexp treating string as multi-line, i. e. `^` and `$` will match
immediately after or immediately before internal newlines. The same
as in Perl;
- `s` forces `.` metacharacter to match any character including newline.
The same as in Perl;
-- `u` changes the way of processing \B, \b, \D, \d, \S, \s, \W, \w and some
- of the POSIX character classes forsing them to use Unicode properties;
+- `u` changes the way of processing `\B`, `\b`, `\D`, `\d`, `\S`, `\s`, `\W`,
+ `\w` and some of the POSIX character classes forsing them to use Unicode
+ properties;
- `U` ungreedies quantifiers by default (they still can be made greedy
if followed by `?`);
- `x` forces regexp to ignore unescaped whitespaces and comments after `#`.