Re: regex of the month (decade?)

Uri Guttman <[email protected]> Mon, 07 Jan 2008 18:33:43 -0500
Newsgroups gmane.comp.lang.perl.fun
Message-ID <[email protected]>
>>>>> "DC" == Dan Collins <[email protected]> writes:


  DC> Last I checked, '.' matches \s. Oh, and '/' uis a pretty important
  DC> character, and should really be escaped.

nope. . doesn't match \n which is part of \s. you need the /s modifier
to make . match \n (and then of course \s).

  DC> In total, I count 9 errors and 213 characters removed. Though, I can't
  DC> count, so that may be wrong. Did I miss anything?

i dunno. i can't figure it out either. that is why i posted it here! :)

uri

-- 
Uri Guttman  ------  [email protected]  -------- http://www.stemsystems.com
--Perl Consulting, Stem Development, Systems Architecture, Design and Coding-
Search or Offer Perl Jobs  ----------------------------  http://jobs.perl.org