in reply to Preferred Methods (again)
I guess the only comments I would have on the regexp would be to sprinkle it with \s* and that "(\S+?)" is a weird way to capture the content of an attribute:
m#\s(\S+)\s*=\s*"([^"]*)"#g
|
---|
Replies are listed 'Best First'. | |
---|---|
Re(2): Preferred Methods (again)
by FoxtrotUniform (Prior) on Jan 17, 2002 at 03:53 UTC | |
by Matts (Deacon) on Jan 17, 2002 at 17:10 UTC |