aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Mikhirev2014-12-18 22:24:53 +0300
committerDmitry Mikhirev2014-12-18 22:24:53 +0300
commita1cba1446e238f64e4d1327184e990ef2b210d8d (patch)
tree488fbc575861614f9d841fc5e2962cfa28706049
parent68d50bc187209ea31fac0e640c50fc961c032790 (diff)
downloadmake_pcre-a1cba1446e238f64e4d1327184e990ef2b210d8d.tar.gz
make_pcre-a1cba1446e238f64e4d1327184e990ef2b210d8d.tar.bz2
make_pcre-a1cba1446e238f64e4d1327184e990ef2b210d8d.tar.xz
make_pcre-a1cba1446e238f64e4d1327184e990ef2b210d8d.zip
some fixes in readme
-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 `#`.