Test results for Win32 Console |
Test for the suite of regular expression pattern options provided by the TRE regular expression engine.
Pass
cat _INPUT_DATA_ ¦ xmlfy -F1 : -W 'iB/1 ab/' -W 'be/^.*$/' -W 'EU/(.*3.*)/' -W 'ne/(line 5.*$)/' -W 'l/^line 7 abc$/' -t
line 1 abc: _ ^line 2 abc def$ _: line 3 abc: line 4 abc def: line 5 ghi line 6 abc$: ^line 7 abc$:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE xmlfy SYSTEM "xmlfy.dtd"> <xmlfy> <line> <field>line 1 abc</field> </line> <line> <field>line 3</field> </line> <line> <field>line 5 ghi</field> </line> <line> <field>^line 7 abc$</field> </line> </xmlfy>