On Monday, August 18, 2003, at 09:23 AM, Jim Witte wrote:


Is there an elegant way (without having to count back characters and such from endMatch) to get matchChunk to do what I want and do a "non-greedy" match?

Just a couple of ideas - gotta run.


1) use replaceText instead?
2) Don't put the \n explicitly, use ^ and $ to anchor the match to the start or end of the line. It may not be necessary to anchor it at all.



Alex Rice, Software Developer Architectural Research Consultants, Inc. http://ARCplanning.com

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to