Freddy wrote:
I know what sed is, not really using it, but I understand what you mean.
Well, Java regex is somewhat more sophisticated anyway - the lookahead constructs alone make handling complex expressions a lot easier than with "traditional" or even POSIX regex.
Quote:
Might add importing from text file, but probably not too soon.
If and when you do it, please consider adding such lists via GUI also.
Quote:
Most people don't even use regex replacements or replacements which would depend on each other.
Most people don't even realize how powerful you made TP by implementing them or even what REs are. Next problem is there aren't many tutorials about Java regex ob the web - the examples in the TP FAQ are a good start, but don't really show the amazing capabilities.
I am really interested in developing awareness of that functionality and I think about aiding regex usage here in the forum for quite a long time. If you don't mind I will share my links and samples with the users in a thread apart from the existing regex problems topic. I would be happy if you take it as an approach to give something back for the great support you do here, mostly all alone it appears.
TP has some big advantages compared to other tools - I wish I could convince more users to switch. For many managing site-dependent customizations is important and being able to crawl a) sites for existing posts with same content and b) metadata concerning the content. Well, b) can be handled by other tools, that means customization management and searching for existent topics will attract the most potential customers.
Quote:
You might want to look if you can merge some replacements to make it do the final result without depending on each other (so that the order won't matter).
I have already consolidated a lot of my expressions over the last days, average count shrunk from 12 to 7 per site, but complexity has wildly increased - well, it was great fun figuring all these out. :-)
Wurstmu