RE: Regex Not Matching Newline

2002-07-10 Thread Bob Showalter
> -Original Message- > From: John Pitchko [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 10, 2002 10:51 AM > To: [EMAIL PROTECTED] > Subject: Regex Not Matching Newline > > > Hello, > > I am using: > s/(.+?)<\/a>/ href="\/cgi-bin\/templa

Regex Not Matching Newline

2002-07-10 Thread John Pitchko
Hello, I am using: s/(.+?)<\/a>/$2<\/a>/igs; to match HTML in a file that is formatted like: System Backup/Restore - NetBackup Restore Document Sybase Backup/Restore - NetBackup Restore Document The problem is that the pattern will match the second (which is all on one line) but will