Hello Technology, On Saturday, June 8, 2002 at 16:50 GMT -0400, a creature mimicking Bill Blinn, Technology Editor [BBT] wrote:
>>>> %subject="Re:%setpattregexp='(?i)\A\:?(\s*\[.*\])%- >>>> ?(\s*(re|ha|rcpt|fwd|fw)(\[\d*\])?:\s*)*(.*)'%- >>>> %RegExpBlindMatch='%OSubj'%SubPatt='5'" <snip> BBT> This is a "regular expression" and regular expressions are not BBT> easy to understand. I disagree. The hardest part about regular expressions is learning the syntax. Once you understand the symbols, regular expressions become easier than most programming languages. The difficulty with most regular expressions is that they are not formatted for readability. Unfortunately, splitting up the regular expression into more human readable parts depends to some degree on the reader's comfort with regexps. BBT> There are 1000-page books on regular expressions and BBT> that's about the only way to learn what you can do with them. These lists are also contain some amazing teachers. BBT> I can't even begin to explain the regular expression BBT> above, but I can read some less complex ones. The one above isn't as complex as it looks, but it is easy to get lost in such a long expression. If you want help working out that expression, I suggest we move to the TBTECH list, it is a more appropriate forum. -- Thanks for writing, Januk Aggarwal Personal Plan: To avoid sanity, lucidity and wit at all costs. ________________________________________________________ Current Ver: 1.60q FAQ : http://faq.thebat.dutaint.com Unsubscribe: mailto:[EMAIL PROTECTED] Archives : http://tbudl.thebat.dutaint.com Moderators : mailto:[EMAIL PROTECTED] TBTech List: mailto:[EMAIL PROTECTED] Bug Reports: https://bt.ritlabs.com

