Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- a simple =~ // question
- Geoff Cox
May 22, 2005, 2:33 pm
rate this thread
Re: a simple =~ // question
Geoff Cox wrote:
I'm not surprised:
Bareword found where operator expected at 1 line 1, near
(Missing operator before title?)
syntax error at 1 line 1, near "/<title>(.*?)</title"
Search pattern not terminated at 1 line 1.
Did you actually try to compile this?
You need to escape the slash in your pattern.
Also, if you are trying to parse XML or HTML there are better methods
than hand-rolling your own regex.
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — The site's Newest Thread. Posted in » Secure Shell Forum