retina
retina copied to clipboard
A regex-based programming language.
Basically two unary operators that convert between characters and their Unicode code points. Not sure whether they should just work on the first character/integer or be able to transform entire...
The `:;` modifiers are currently only available for entire-match elements, not for numbered and named groups. A potentially very useful feature would be to generate the cumulative capture count (from...
For example, the regex `(.)+`, when applied to `abcd`, would have the first capture group containing for elements, `{a,b,c,d}`. The feature request is to create a substitution pattern, for example...
Currently the build is failing randomly. As it seems, all test failures are related to `Random*` tests. Such tests should be predictable.
When there are only explicit references to the result log (and no dynamic elements), automatically limit the log in size so that those references are covered. For example, using both...
[Boost](http://www.boost.org/doc/libs/1_57_0/libs/regex/doc/html/boost_regex/format/boost_format_syntax.html) has conditional replacement syntax, where you can choose between two substitutions based on whether a given group was matched or not. That feature would be really useful, although I'd...
E.g. using ``` .+ $. ``` instead of ``` .+ $.0 ```
For example, `\/` should render as two tokens instead of one since `/` is an ordinary character.
Another one for the list of "if I ever pre-process the regex...". Add an escape sequence that matches exactly one line (e.g. `\_`) such that the horizontal position of the...
Probably a bit ambitious but this should be possible to implement this via string-preprocessing of a regex. The idea is that you have some escape sequence which remembers the position...