Changeset 4205 for icGREP


Ignore:
Timestamp:
Oct 2, 2014, 4:13:50 PM (5 years ago)
Author:
nmedfort
Message:

Nullable sanity checks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/QA/greptest.xml

    r4187 r4205  
    77regexp tests.
    88</datafile>
    9 
    10 <grepcase regexp="fe|si" datafile="simple1" grepcount="3"/>
    11 <grepcase regexp="in" datafile="simple1" grepcount="2"/>
    12 <grepcase regexp="[A-Z]" datafile="simple1" grepcount="1"/>
    13 <grepcase regexp="fodder|simple" datafile="simple1" grepcount="2"/>
    149
    1510<datafile id="bounded_charclass">
     
    4136=zzzzzzzzzzzzzzzzzzzzzzzzzz;
    4237</datafile>
    43 <grepcase regexp="[cde]{3}" datafile="bounded_charclass" grepcount="3"/>
    44 <grepcase regexp="[f-h]{5}" datafile="bounded_charclass" grepcount="3"/>
    45 <grepcase regexp="[a-z]{5}" datafile="bounded_charclass" grepcount="22"/>
    46 <grepcase regexp="[a-z]{5,15}" datafile="bounded_charclass" grepcount="22"/>
    47 <grepcase regexp="=[a-z]{7,}" datafile="bounded_charclass" grepcount="20"/>
    48 <grepcase regexp="=[a-z]{5,15};" datafile="bounded_charclass" grepcount="11"/>
    49 <grepcase regexp="[wxy]{2}{3}{2}" datafile="bounded_charclass" grepcount="3"/>
    50 <grepcase regexp="=([a-z][c-z])*;" datafile="bounded_charclass" grepcount="12"/>
    5138
    5239<datafile id="RangeAltSeqMatchStarKplusWhileNotOptAny">
     
    6249MazazazazazazazT
    6350</datafile>
    64 
    65 <grepcase regexp="^D[zabcdefoy]g" datafile="RangeAltSeqMatchStarKplusWhileNotOptAny" grepcount="7"/>
    66 <grepcase regexp="do*c|ez*t" datafile="RangeAltSeqMatchStarKplusWhileNotOptAny" grepcount="4"/>
    67 <grepcase regexp="M(az)*T" datafile="RangeAltSeqMatchStarKplusWhileNotOptAny" grepcount="6"/>         
    68 <grepcase regexp="ez+t" datafile="RangeAltSeqMatchStarKplusWhileNotOptAny" grepcount="2" />
    69 <grepcase regexp="b([a-d]z)*t" datafile="RangeAltSeqMatchStarKplusWhileNotOptAny" grepcount="2"/>
    70 <grepcase regexp="[^D]og" datafile="RangeAltSeqMatchStarKplusWhileNotOptAny" grepcount="2"/>
    71 <grepcase regexp="Na?t" datafile="RangeAltSeqMatchStarKplusWhileNotOptAny" grepcount="2"/>
    72 <grepcase regexp="h.t" datafile="RangeAltSeqMatchStarKplusWhileNotOptAny" grepcount="3" />
    7351
    7452<datafile id="StartEndAlt">
     
    8967research on finding social spammers in large social networks.
    9068</datafile>
    91 
    92 <grepcase regexp="^user|^I|our$" datafile="StartEndAlt" grepcount="5"/>
    9369
    9470<datafile id="special_characters">
     
    11086]]]]]]]]]]
    11187</datafile>
    112 <grepcase regexp="[]]" datafile="special_characters" grepcount="9"/>
    113 <grepcase regexp="[-]" datafile="special_characters" grepcount="8"/>
    114 <grepcase regexp="[^]]" datafile="special_characters" grepcount="15"/>
    115 <grepcase regexp="[^-]" datafile="special_characters" grepcount="14"/>
    116 <grepcase regexp="[^]-]" datafile="special_characters" grepcount="13"/>
    117 
    11888
    11989<datafile id="ips"> 
     
    181151</datafile>
    182152
    183 <grepcase regexp="^((([2][5][0-5]|([2][0-4]|[1][0-9]|[0-9])?[0-9])[.]){3})([2][5][0-5]|([2][0-4]|[1][0-9]|[0-9])?[0-9])$" datafile="ips" grepcount="60"/>
    184 
    185153<datafile id = "CRLF">line with CRLF &#13;&#10;two lines with LFCR &#10;&#13;final line
    186154</datafile>
     
    192160'&#x1E20;'
    193161</datafile>
     162
     163<grepcase regexp="ab" datafile="StartEndAlt" grepcount="4"/>
     164<grepcase regexp="a*b" datafile="StartEndAlt" grepcount="10"/>
     165<grepcase regexp="ab*" datafile="StartEndAlt" grepcount="15"/>
     166<grepcase regexp="^user|^I|our$" datafile="StartEndAlt" grepcount="5"/>
     167
     168<grepcase regexp="fe|si" datafile="simple1" grepcount="3"/>
     169<grepcase regexp="in" datafile="simple1" grepcount="2"/>
     170<grepcase regexp="[A-Z]" datafile="simple1" grepcount="1"/>
     171<grepcase regexp="fodder|simple" datafile="simple1" grepcount="2"/>
     172
     173<grepcase regexp="[cde]{3}" datafile="bounded_charclass" grepcount="3"/>
     174<grepcase regexp="[f-h]{5}" datafile="bounded_charclass" grepcount="3"/>
     175<grepcase regexp="[a-z]{5}" datafile="bounded_charclass" grepcount="22"/>
     176<grepcase regexp="[a-z]{5,15}" datafile="bounded_charclass" grepcount="22"/>
     177<grepcase regexp="=[a-z]{7,}" datafile="bounded_charclass" grepcount="20"/>
     178<grepcase regexp="=[a-z]{5,15};" datafile="bounded_charclass" grepcount="11"/>
     179<grepcase regexp="[wxy]{2}{3}{2}" datafile="bounded_charclass" grepcount="3"/>
     180<grepcase regexp="=([a-z][c-z])*;" datafile="bounded_charclass" grepcount="12"/>
     181
     182<grepcase regexp="^D[zabcdefoy]g" datafile="RangeAltSeqMatchStarKplusWhileNotOptAny" grepcount="7"/>
     183<grepcase regexp="do*c|ez*t" datafile="RangeAltSeqMatchStarKplusWhileNotOptAny" grepcount="4"/>
     184<grepcase regexp="M(az)*T" datafile="RangeAltSeqMatchStarKplusWhileNotOptAny" grepcount="6"/>         
     185<grepcase regexp="ez+t" datafile="RangeAltSeqMatchStarKplusWhileNotOptAny" grepcount="2" />
     186<grepcase regexp="b([a-d]z)*t" datafile="RangeAltSeqMatchStarKplusWhileNotOptAny" grepcount="2"/>
     187<grepcase regexp="[^D]og" datafile="RangeAltSeqMatchStarKplusWhileNotOptAny" grepcount="2"/>
     188<grepcase regexp="Na?t" datafile="RangeAltSeqMatchStarKplusWhileNotOptAny" grepcount="2"/>
     189<grepcase regexp="h.t" datafile="RangeAltSeqMatchStarKplusWhileNotOptAny" grepcount="3" />
     190
     191<grepcase regexp="[]]" datafile="special_characters" grepcount="9"/>
     192<grepcase regexp="[-]" datafile="special_characters" grepcount="8"/>
     193<grepcase regexp="[^]]" datafile="special_characters" grepcount="15"/>
     194<grepcase regexp="[^-]" datafile="special_characters" grepcount="14"/>
     195<grepcase regexp="[^]-]" datafile="special_characters" grepcount="13"/>
     196
     197<grepcase regexp="^((([2][5][0-5]|([2][0-4]|[1][0-9]|[0-9])?[0-9])[.]){3})([2][5][0-5]|([2][0-4]|[1][0-9]|[0-9])?[0-9])$" datafile="ips" grepcount="60"/>
     198
    194199<!-- . should match a unique character, even if it is 3 bytes. -->
    195200<grepcase regexp="'.'" datafile="LU_test" grepcount="1"/>
Note: See TracChangeset for help on using the changeset viewer.