Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Rework replacement API to rely on transformation | Benjamin Barenblat | 2015-08-26 |
| | | | | | | | | | Redesign library API around highly general regex-based transformations. Instead of specifying a string to substitute for each match, you now execute an entire function over the match (and over nonmatching regions as well). The resulting C++ code is much simpler, with more functionality pushed into Ur, and the engine now supports certain types of regex transformations needed to mimic Perl. | ||
* | JS: Use global regexes | Benjamin Barenblat | 2015-07-30 |
| | | | | | This brings JavaScript’s behaviour into line with C++’s – replacements should be global. | ||
* | Correct order of arguments to Regex.replace | Benjamin Barenblat | 2015-07-30 |
| | |||
* | Implement regex substitution | Benjamin Barenblat | 2015-07-30 |
| | |||
* | Make library work on both client and server sides | Benjamin Barenblat | 2015-07-30 |
Replace the two-step compile/match process with a single compile-and-match one to avoid issues with server-client representation incompatibility. Use the browser regex engine on the client side. |