search for: f_nam_re_s

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

Did you mean: f_nam_re
2006 Feb 08
0
Stange regexp problem with case sensitivity
Environment: CentOS 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 d...