Changeset 4834


Ignore:
Timestamp:
Oct 13, 2015, 4:11:55 PM (2 years ago)
Author:
nmedfort
Message:

Couple more test cases for grapheme clusters.

File:
1 edited

Legend:

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

    r4832 r4834  
    508508<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"/>
    509509<grepcase regexp="^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.([a-zA-Z]{2}|com|org|net|edu|gov|mil|biz|info|mobi|name|aero|asia|jobs|museum)$" datafile="emails" grepcount="116"/>
    510 <grepcase regexp="^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.([a-zA-Z]{2}|com|org|net|edu|gov|mil|biz|info|mobi|name|aero|asia|jobs|museum)$" datafile="emails" grepcount="116"/>
     510<grepcase regexp="(?g)^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.([a-zA-Z]{2}|com|org|net|edu|gov|mil|biz|info|mobi|name|aero|asia|jobs|museum)$" datafile="emails" grepcount="116"/>
    511511<grepcase regexp="^[-+]?([1-9]0?)+\.?((0*[1-9])+|0)([eE][-+]?([0-9]+)+)?$" datafile="floats" grepcount="26"/>
    512512
     
    535535àŠ•
    536536àŠ•à§€
     537àŠ•àŠ•à§€
    537538A plain line.
    538539</datafile>
     
    542543<grepcase regexp="^\u{4F60}$" datafile="codepoints" grepcount="1"/>
    543544<grepcase regexp="(?g)^\u{4F60}$" datafile="codepoints" grepcount="1"/>
    544  <grepcase regexp="^àŠ•$" datafile="codepoints" grepcount="1"/>
    545  <grepcase regexp="(?g)^àŠ•$" datafile="codepoints" grepcount="2"/>
    546 
    547 
     545<grepcase regexp="^àŠ•$" datafile="codepoints" grepcount="1"/>
     546<grepcase regexp="(?g)^àŠ•$" datafile="codepoints" grepcount="2"/>
     547<grepcase regexp="^àŠ•+$" datafile="codepoints" grepcount="1"/>
     548<grepcase regexp="(?g)^àŠ•+$" datafile="codepoints" grepcount="3"/>
    548549 
    549550<datafile id = "LineBreaking">CRLF1&#13;&#10;CRLF2&#13;&#10;CRLF3&#13;&#10;
     
    553554
    554555<grepcase regexp="^.*$" datafile="LineBreaking" grepcount="19"/>
     556<grepcase regexp="^\X*$" datafile="LineBreaking" grepcount="19"/>
    555557<grepcase regexp="Unterminated$" datafile="LineBreaking" grepcount="1"/>
    556558<grepcase regexp="^CRLF.$" datafile="LineBreaking" grepcount="5"/>
Note: See TracChangeset for help on using the changeset viewer.