search for: qpcccmr9

Displaying 1 result from an estimated 1 matches for "qpcccmr9".

Did you mean: qpcccmr1
2006 Feb 08
0
Stange regexp problem with case sensitivity
...am_re = Regexp.new(f_nam_re_s,"x") produces these test results: The passed regexp: ^QPCCCMR[[:digit:]]$ The regexp used is: /^QPCCCMR[[:digit:]]$/i $= is false qpcccmr1 matches QPCCCMR1 matches QPCCMMR1 does not match qpCCCMR1 matches QPCCCMRC does not match QPCCCMR1.csv does not match QPCCCMR9 matches XXQPCCCMR9 does not match QPCCCMR9yyy does not match XyZQPCCCMR3AbC does not match However, just removing the "x" f_nam_re = Regexp.new(f_nam_re_s) Produces this from the same test suite: The passed regexp: ^QPCCCMR[[:digit:]]$ The regexp used is: /^QPCCCMR[[:digit:]]$/ $= is f...