From a1cba1446e238f64e4d1327184e990ef2b210d8d Mon Sep 17 00:00:00 2001 From: Dmitry Mikhirev Date: Thu, 18 Dec 2014 22:24:53 +0300 Subject: some fixes in readme --- README.md | 10 ++++++---- 1 file 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 `#`. -- cgit v1.2.1