RegLang
- A readable pattern matching language
Demo of compilation to Javascript RegExp objects
from linestart to lineend match caseinsensitive { 0to1 "-" and 1orMore digit and 0to1 { "." and 0orMore digit } and 0to1 { "e" and 0to1 ["+", "-"] and 1orMore digit } }
1234 3.14 e1e -1e3 abcde +-12 0.435
Compiled output (Javascript flavor)
Pattern:
Flags:
Test Matches