A webapp to test, match, exec and replace with regular expressions on strings
Inspired by the great tool of Grant Skinner: RegExr (Flash online tool)
It's use JavaScript's regular expression (supported by the browser)
- Regular Expression Syntax, Regular Expression Object and RegExp Object at the MSDN
- Regular Expressions Chapter and RegExp Object Referenc at the MDN
- ECMA-262, ECMAScript Language Specification
- http://docs.webplatform.org/wiki/concepts/programming/javascript/regex
- [critical] implements save/restore selection in
#text
. See_updateHighlights()
and http://stackoverflow.com/a/5596688/470117 - enhance user interface!
- implements in
#text
and#output
a HTML renderer of RAW text (\t\n\r
) (or using the<pre>
wrapper trick). It's a Firefox bug - implements a RegExp parser like RegExr + predefined and community patterns (use datalist?)
- check if
ReplacePatternSlicer
handle correctly escaped chars (specially unknowns or marlformed escaped chars like \10 \z \x2 etc.) - replace
ReplacePatternSlicer
bystring.replacer(regexp, replacerFunction)
? - add support of XRegExp as an option (native or XRegExp)
- add timers for grouping
input
andchange
multiple frame events - add process timing to: detect a potential bug (there are infinites loops here) or a heavy task could required be in worker (larges texts or lot of matches)