Dear Diego, Thank you! This time it works! Thank you so much! Thomas -----Original Message----- From: pic microcontroller discussion list [mailto:PICLIST@MITVMA.MIT.EDU] On Behalf Of Diego Sierra Sent: Wednesday, August 14, 2002 4:04 PM To: PICLIST@MITVMA.MIT.EDU Subject: Re: [PIC]: Integrate Textpad and MPLAB Hi! > I think it has something to do with the Regular Expression (RE). I > copied exactly the way you have: > > ^.*\([a-zA-Z]:[^]+\)\([0-9]+\]): You have an extra "]" and miss some spaces. The first cause the unmatched error, and the second makes no match on your output. What I sent you is "^.* \([a-zA-Z]:[^ ]+\) \([0-9]+\) :". Do not type in the regexp, just copy the text between the doubles quotes and paste it!. About escaping ... >> I am NOT sure about the round braces needing escapes for bracketing >> substrings. Normal regexp syntax requires escapes for round braces when >> NOT used for bracketing like here. Therefore maybe this would work better: In _Textpad_ you need to escape the "(" and ")" for bracketing substrings which is the "standard" (same for Unix grep). But this is not a rule, as in PERL, for example, works by reversing this. Cheers, Diego. -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu