in reply to Regex and a pseudo-XML tag
so I wonder why you are surprised it only 'works' if there are no spaces in the value. If you want spaces, don't forbid them.[^'" >]+
Having said that, there are many more problems with your regexp. Why don't you use one of the many XML parsing modules from CPAN?
Abigail
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Regex and a pseudo-XML tag
by inblosam (Monk) on Nov 20, 2003 at 16:27 UTC | |
by CountZero (Bishop) on Nov 20, 2003 at 20:31 UTC | |
by inblosam (Monk) on Nov 21, 2003 at 03:11 UTC |