Test results for Solaris x86

test_001089_option_columns_regex_pattern_options

Test description

Test for the suite of regular expression pattern options provided by the TRE
regular expression engine.

Test status

 Pass

Run command

cat _INPUT_DATA_ ¦ xmlfy -F1 : -W 'iB/1 ab/' -W 'be/^.*$/' -W 'EU/(.*3.*)/' -W 'ne/(line 5.*$)/' -W 'l/^line 7 abc$/' -t

Input data

line 1 abc:
_ ^line 2 abc def$ _:
line 3 abc:
line 4 abc def:
line 5 ghi
line 6 abc$:
^line 7 abc$:

Output result

<?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>

Goto:   Top of page.   Section "Environment".   Section "Summary".   Section "Test cases".