cwal

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

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

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

History for s2/mod/regex_posix/test_rx_common.s2

2020-03-01
20:32
A six-hour trip down a bug-chasing rabbit hole after discovery of regex mismatch bugs in the upstream code bits of the JS module led to bugs of my own in regex.split(). All seems well now except for the bugs in the upstream code. file: [9057cfd0c8] check-in: [90cf9f9783] user: stephan branch: trunk, size: 11547
2020-02-13
03:44
Added regex.eachMatch() to the regex modules. file: [4c3ca23880] check-in: [b96a78b8bf] user: stephan branch: trunk, size: 10825
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: [ce6d0d4fec] check-in: [5131c0341e] user: stephan branch: trunk, size: 9591
2020-02-01
07:12
Regex replace() eval/callback: replaced this.$ with scope-local $. file: [d6272559ed] check-in: [18e40e9447] user: stephan branch: trunk, size: 10537
2020-01-31
19:25
More regex cleanups. Renamed the 'b' (BASIC) POSIX compile flag to 'B'. file: [9ae1b5f412] check-in: [8f1bec4160] user: stephan branch: trunk, size: 10577
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: [f97d0b4b3f] check-in: [b3ec91b6eb] user: stephan branch: trunk, size: 10255
09:50
Added a couple regex.replace() tests. file: [5ed236480b] check-in: [89aa2cab2f] user: stephan branch: trunk, size: 9604
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: [9c09138e35] check-in: [4e3a6ecf91] user: stephan branch: trunk, size: 9524
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: [6aa104c297] check-in: [ebbf1ffa5f] user: stephan branch: trunk, size: 9556
2020-01-30
18:30
Added regcomp.instancePrototype to the regex modules so that scripts can extend the per-instance prototypes without having to instantiate a regex to get access to the prototype. file: [d7ca2cd6a1] check-in: [2f99aafc13] user: stephan branch: trunk, size: 9846
15:13
Added: Added JS/POSIX regex.split() method plus a bit of related refactoring, including consolidating many of their tests into a single script. file: [104244a394] check-in: [bc6d47ea5b] user: stephan branch: trunk, size: 8938