search for: qpcccmr1

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

2006 Feb 08
0
Stange regexp problem with case sensitivity
...OS 4.2 (RHES4 clone) Ruby 1.8.4 Rails 1.0 I am having a small difficulty with case sensitive matching in some ruby code: f_nam_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) Prod...