Channel icon indicating copy to clipboard operation
Channel copied to clipboard

2 simple request

Open bartsimp opened this issue 11 years ago • 1 comments

  1. Is it possible to ignore a group? it would be nice to do something like

matcher=(.?)(.?)(.?)(.?)(.*?) order=ignore,name,ignore,url,ignore

  1. 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!

bartsimp avatar Dec 27 '14 09:12 bartsimp

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.

SharkHunter avatar Dec 28 '14 08:12 SharkHunter