3 Sep 15:25
Re: Has anyone ever used multiMatch?
Ivan Ristic <ivan.ristic <at> gmail.com>
2009-09-03 13:25:55 GMT
2009-09-03 13:25:55 GMT
On Mon, Aug 31, 2009 at 12:45 PM, Marc Stern<marc.stern <at> approach.be> wrote: > Hi Ivan, Hi Marc, > I use it, but it is a bit limited because It is, I agree. > 1. it tries to map after all transformations where you may only want to map > after certain transformations (so a "t:match" would be more efficient) That's an excellent idea. > 2. most of the time, you need to perform several times a transformation > (like "t:lowercase") after other ones (decoding ones) > > 3. for non breaking rules, there is no way to stop the rule after the first > match. If you increase a counter by one, it will match 5 times and your > counter will be increased 5 times also. Obviously, you can bypass this with > complex rules, but it is not trivial for beginners I guess this is where transformation via Lua could make more sense, as you'd be able to transform things exactly in the order you need. > Regards > > Marc > >(Continue reading)
RSS Feed