[Htmlparser-user] HasAttributeFilter
Brought to you by:
derrickoswald
|
From: Ryan S. <rs...@li...> - 2006-06-22 15:00:33
|
<div a=foobar b=aybabtu></div>
<div a=foodbar b=aybabtu></div>
Is there a way to use HasAttributeFilter("a","foo")
But have the value match *NOT EXACT* ?
Meaning, it would be nice if the value could be a regular expression, so
i could match all attributes with the word "foo"
instead of having to match thte attribute EXACTLY
Is this possible? can i add a patch?
Also, while im at it, the HtmlParserUtils has nice methods like trim
tags etc...
But i use a custom parser with my own tags defined, and the util class
provides no way to give your own parser, (it called new Parser() :( )
Can support be added to this? ( i have a patch if anyone wants it )
Thanks
-Ryan Smith
Software Developer
Foreclosure.com
|