home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / perl / 7505 < prev    next >
Encoding:
Text File  |  1992-12-18  |  867 b   |  24 lines

  1. Newsgroups: comp.lang.perl
  2. Path: sparky!uunet!sybus.sybus.com!myrddin!tct!chip
  3. From: chip@tct.com (Chip Salzenberg)
  4. Subject: Re: negation in Regular Xpr.
  5. Message-ID: <2B31020F.8492@tct.com>
  6. Date: Thu, 17 Dec 1992 22:41:19 GMT
  7. References: <3723@symbas.UUCP>
  8. Organization: TC Telemanagement, Clearwater, FL
  9. Lines: 13
  10.  
  11. According to hans@symbas.lind.no:
  12. >/^pattern/   matches when the pattern is encountered at the start
  13. >             of the line.
  14. >             But in such cases I eant to  a v o i d  the rule to fire.
  15. >             How do I do that ?
  16.  
  17. How about /.pattern/?
  18.  
  19. -- 
  20. Chip Salzenberg at Teltronics/TCT  <chip@tct.com>, <73717.366@compuserve.com>
  21.   "you make me want to break the laws of time and space / you make me
  22.    want to eat pork / you make me want to staple bagles to my face /
  23.    and remove them with a pitchfork" -- Weird Al Yankovic, "You Make Me"
  24.