diff options
author | Patrik Nyblom <[email protected]> | 2013-07-18 10:18:58 +0200 |
---|---|---|
committer | Patrik Nyblom <[email protected]> | 2013-08-09 12:10:30 +0200 |
commit | 6146e7642d4bb9f7c9bb5f8cbca548c1d9667e5c (patch) | |
tree | 024c55cef26cdf0ad167b23d61fee9737177da7b /lib/stdlib/src/unicode.erl | |
parent | 9cd8b5d2af163f29cf77ae74057789be977f6414 (diff) | |
download | otp-6146e7642d4bb9f7c9bb5f8cbca548c1d9667e5c.tar.gz otp-6146e7642d4bb9f7c9bb5f8cbca548c1d9667e5c.tar.bz2 otp-6146e7642d4bb9f7c9bb5f8cbca548c1d9667e5c.zip |
Add new options to Erlang re interface and mend dupnames
Add notempty_atstart, no_start_optimize, ucp and
never_utf options from new PCRE version.
Use the new notempty_atstart in global matching.
Add inspect/2 function
Correctly handle dupnames when capturing a name, as
in Perl, get the leftmost matching occurence.
Also added all_names, to get all the names in the pattern
in alphabetical (name) order.
To be able to use this in global matching, an inspect
function that can dig out a namelist was added.
Diffstat (limited to 'lib/stdlib/src/unicode.erl')
0 files changed, 0 insertions, 0 deletions