>>>>> "KF" == Ken Fox <[EMAIL PROTECTED]> writes:

  > Dave Storrs wrote:
  >> why didn't you have to write:
  >> 
  >> rule ugly_c_comment {
  >> /
  >> \/ \*  [ .*? <ugly_c_comment>? ]*?  \* \/
  >> { let $0 := " " }
  >> /
  >> }

  > Think of the curly braces as the regex quotes. If "{" is the quote
  > then there's nothing special about "/" and it doesn't need to be
  > escaped. Also, I don't think you want spaces between "/" and "*"
  > because "/ *" isn't a comment delimiter.

but remember that whitespace is ignored as the /x mode is on all the
time.

uri

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

Reply via email to