cwal

All files named "s2/mod/regex_posix/test.s2"
Login

All files named "s2/mod/regex_posix/test.s2"

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

History for s2/mod/regex_posix/test.s2

2020-02-13
03:44
Added regex.eachMatch() to the regex modules. file: [7aa2aa1900] check-in: [b96a78b8bf] user: stephan branch: trunk, size: 4854
2020-02-09
13:12
regex modules: removed integer-style regex flags from the APIs. The string forms are simply much easier to use and don't require all the extra single-flag properties. file: [67d6119d34] check-in: [5131c0341e] user: stephan branch: trunk, size: 4632
2020-02-01
07:12
Regex replace() eval/callback: replaced this.$ with scope-local $. file: [7e687ed47a] check-in: [18e40e9447] user: stephan branch: trunk, size: 4630
2020-01-31
19:25
More regex cleanups. Renamed the 'b' (BASIC) POSIX compile flag to 'B'. file: [81b1e70735] check-in: [8f1bec4160] user: stephan branch: trunk, size: 4650
16:39
Lots of work on the regex modules. Introduced the '$' and 'E' match flags to replace() to handle captures and allow eval'ing of the replacement string, respectively. More code consolidation. file: [4f22494e79] check-in: [b3ec91b6eb] user: stephan branch: trunk, size: 4420
09:23
Infrastructure to allow s2sh to install static modules to s2 properties other than their module name. e.g. regex_js and regex_posix can now be installed as s2.regex.js and s2.regex.posix. We also install the historical names to keep certain scripts which may dynamically load modules running. file: [3008306dab] check-in: [4e3a6ecf91] user: stephan branch: trunk, size: 4190
05:04
POSIX regexes now compile in EXTENDED mode by default and compile/match flags for POSIX/JS may now be provided using letters instead of a bitmask, e.g. regcomp.ICASE==>'i'. Some regex module code consolidation. file: [fc793b0ce6] check-in: [ebbf1ffa5f] user: stephan branch: trunk, size: 4177
2020-01-30
15:13
Added JS/POSIX regex.split() method plus a bit of related refactoring, including consolidating many of their tests into a single script. file: [65eb9ce958] check-in: [bc6d47ea5b] user: stephan branch: trunk, size: 4273
10:19
(Finally) implemented regex.replace() for the JS and POSIX regex s2 modules. file: [f4af49791b] check-in: [1e2d468d0c] user: stephan branch: trunk, size: 10473
2019-12-19
01:22
Renamed s2/mod/regex_posix/mod_porex.s2 → s2/mod/regex_posix/test.s2. Expanded the POSIX/JS regex matchAll() methods to be able to optionally return arrays of all sub-captures, rather than just the full-pattern match strings. file: [9430172cdb] check-in: [7f3ec9c8f9] user: stephan branch: trunk, size: 9130