Michael Aivaliotis Posted January 14, 2004 Report Share Posted January 14, 2004 > Perhaps it Quote Link to comment
JackHamilton Posted January 14, 2004 Report Share Posted January 14, 2004 Mike, You have it correct. And I have several places in my code where is does work. I've only come across this one instance. Match pattern is working for me. Scan from String is sometime too strict in it's parsing I've found. It did save my bacon where I had to parse a Binary string. Scan %8b worked great. Quote Link to comment
Michael Aivaliotis Posted January 14, 2004 Author Report Share Posted January 14, 2004 Match pattern is working for me. Scan from String is sometime too strict in it's parsing I've found. Just be carefull when using Match Pattern. Sometime you forget about special characters that are used in the regular expression input. See example: As you see we are looking for \b and can't find it since it thinks we want the backspace code. Of course this can be ignored by using \\b but you should be aware of this especially if your regular expression is programmatically generated. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.