Channel
Channel copied to clipboard
2 simple request
- Is it possible to ignore a group? it would be nice to do something like
matcher=
- what about to add StringEscapeUtils.unescapeHtml() to line ChannelFolder:669 from String mUrl=m.getMatch("url",true); to String mUrl=StringEscapeUtils.unescapeHtml(m.getMatch("url",true)); Some pages it fails the parse cause the url contains &
thx and great work!
To ignore part of the matched string you should just use regexp without grouping the part you wish to ignore. Simply remove the () and the data will be ignored (or matched but not used) .?(.?).?.?(.*?)
The unescapeHtml was there before but I removed it for some reason. It is easy to solve with a mangle script that fixes the & sign.