Re: priolist.mfp regex problem
[email protected] Thu, 12 Apr 2012 08:36:51 -0400
| Newsgroups | gmane.mail.spam.crm114 |
|---|---|
| Message-ID | <[email protected]> |
Tracy Reed <[email protected]> writes: > Is there some unintentional parsing being done on the whitespace I put in which > is breaking things? Only marginally unintentional parsing. But yeah, your solution is correct. (the "." is matching an arbitrary next character). Lemme look at the source code. Mailreaver:502 is: match <fromend nomultiline> (:w: :pm: :pat:) [:priolist:] /(.)(.+)/ So it *should* have picked up everything after the first character as the priority pattern. Worse: it works for me correctly: bash-4.2$ crm -v This is CRM114, version 20100106-BlameMichelson (TRE 0.8.0 (BSD)) Copyright 2001-2009 William S. Yerazunis This software is licensed under the GPL with ABSOLUTELY NO WARRANTY bash-4.2$ bash-4.2$ crm '-{ match <fromend nomultiline> (:a: :b: :c:) /(.)(.+)/; output /1st char: :*:b:\n/; output /Rest of chars: :*:c:\n/; liaf}' foo bar baz wugga happy go lucky 1st char: f Rest of chars: oo bar 1st char: b Rest of chars: az wugga 1st char: h Rest of chars: appy go lucky bash-4.2$ > Thanks! No problem. But sadly, no clue either. - Bill ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2