diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 61 |
1 files changed, 47 insertions, 14 deletions
@@ -8,10 +8,23 @@ FIXED Security Issues: **CVE-2017-9224, CVE-2017-9225, CVE-2017-9226** **CVE-2017-9227, CVE-2017-9228, CVE-2017-9229** - -Oniguruma is a regular expressions library. -The characteristics of this library is that different character encoding -for every regular expression object can be specified. +Oniguruma is a modern and flexible regular expressions library. It +encompasses features from different regular expression implementations +that traditionally exist in different languages. It comes close to +being a complete superset of all regular expression features found +in other regular expression implementations. + +Its features include: +* Character encoding can be specified per regular expression object. +* Several regular expression types are supported: + * Oniguruma (native) + * POSIX + * Grep + * GNU Regex + * Perl + * Java + * Ruby + * Emacs Supported character encodings: @@ -26,19 +39,38 @@ Supported character encodings: * CP1251: contributed by Byte -New feature of version 6.7.0 +New feature of version 6.8.1 -------------------------- -* NEW: hexadecimal codepoint \uHHHH -* NEW: add ONIG_SYNTAX_ONIGURUMA (== ONIG_SYNTAX_DEFAULT) -* Disabled \N and \O on ONIG_SYNTAX_RUBY -* Reduced object size +* Update shared library version to 5.0.0 for API incompatible changes from 6.7.1 + + +New feature of version 6.8.0 +-------------------------- + +* Retry-limit-in-match function enabled by default +* NEW: configure option --enable-posix-api=no (* enabled by default) +* NEW API: onig_search_with_param(), onig_match_with_param() +* NEW: Callouts of contents (?{...contents...}) (?{...}\[X<>]) (?{{....}}) +* NEW: Callouts of name (*name) (*name\[tag]{args...}) +* NEW: Builtin callouts (*FAIL) (*MISMATCH) (*ERROR{n}) (*COUNT) (*MAX{n}) etc.. +(* Callout function API is experimental level and isn't fixed definitely yet. Undocumented now) -New feature of version 6.6.1 + +New feature of version 6.7.1 -------------------------- -* Fix definition of \X +* NEW: Mechanism of retry-limit-in-match (* disabled by default) + + +New feature of version 6.7.0 +-------------------------- + +* NEW: hexadecimal codepoint \uHHHH +* NEW: add ONIG_SYNTAX_ONIGURUMA (== ONIG_SYNTAX_DEFAULT) +* Disabled \N and \O on ONIG_SYNTAX_RUBY +* Reduced size of object file New feature of version 6.6.0 @@ -47,7 +79,7 @@ New feature of version 6.6.0 * NEW: ASCII only mode options for character type/property (?WDSP) * NEW: Extended Grapheme Cluster boundary \y, \Y (*original) * NEW: Extended Grapheme Cluster \X -* Range-clear (Absent-clear) operator restores previous range in backtrack. +* Range-clear (Absent-clear) operator restores previous range in retractions. New feature of version 6.5.0 @@ -56,9 +88,9 @@ New feature of version 6.5.0 * NEW: \K (keep) * NEW: \R (general newline) \N (no newline) * NEW: \O (true anychar) -* NEW: if-then-else syntax (?(...)...\|...) +* NEW: if-then-else (?(...)...\|...) * NEW: Backreference validity checker (?(xxx)) (*original) -* NEW: Absent repeater (?~absent) +* NEW: Absent repeater (?~absent) \[is equal to (?\~\|absent|\O*)] * NEW: Absent expression (?~|absent|expr) (*original) * NEW: Absent stopper (?~|absent) (*original) @@ -186,6 +218,7 @@ Sample Programs |sample/scan.c |example of using onig_scan(). | |sample/sql.c |example of the variable meta characters. | |sample/user_property.c|example of user defined Unicode property. | +|sample/callout.c |example of callouts. | Test Programs |