Test results for Solaris x86 |
Test for elements generated by regular expressions applied to multi-line input records.
Pass
cat _INPUT_DATA_ ¦ xmlfy -W '/.*(abc).*(def.*$)/' -F1 delimiter -t -f
line 1 abc line 2 abc def delimiter line 3 abc line 4 abc def line 5 ghi delimiter line 6 abc delimiter
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE xmlfy SYSTEM "xmlfy.dtd"> <xmlfy> <line> <field1>abc</field1> <field2>def</field2> </line> <line> <field1>abc</field1> <field2>def line 5 ghi</field2> </line> </xmlfy>