Mison Posted November 18, 2009 Share Posted November 18, 2009 (edited) Generate simple SRE pattern based on parameter defined by user.Pattern Generator - Nov 18, 2009.au3 Edited November 18, 2009 by Mison Hi ;) Link to comment Share on other sites More sharing options...
Dolemite50 Posted November 18, 2009 Share Posted November 18, 2009 Cool man, I could use something like this. It looks like you may need to escape quotes because it seems to be ignoring anything within " ". Thanks for sharing! Link to comment Share on other sites More sharing options...
Mison Posted November 18, 2009 Author Share Posted November 18, 2009 You are welcome. About the bug... How can I missed that! fixing it right away... thanks. Hi ;) Link to comment Share on other sites More sharing options...
Mison Posted November 18, 2009 Author Share Posted November 18, 2009 (edited) Cool man, I could use something like this. It looks like you may need to escape quotes because it seems to be ignoring anything within " ". Thanks for sharing!Err... what's the error again? At first I thought it was rather obvious bug, but then when I tested it, I couldn't find any issue related to that. Edited November 18, 2009 by Mison Hi ;) Link to comment Share on other sites More sharing options...
Dolemite50 Posted November 18, 2009 Share Posted November 18, 2009 Ahhh, I think I see what the problem was. The array isn't listed in order and when I parsed a multi line string into words it showed the first word at the top but the rest of the first sentence's words were listed much later. When I didn't see the second and third words showing up after the first I assumed the pattern must have missed them but as it turns out those unruly first-sentence scamps were hiding out near the bottom of the list out of scroll range. It's a great start, keep at it. There's plenty of room for things like replace functionality, stored patterns, etc. There is an app called RegExp Quick Tester somewhere around here that might give you a few ideas. I think that Quick Tester's functionality combined with your app's "pseudo approach" would be my ideal util. Link to comment Share on other sites More sharing options...
Mison Posted November 18, 2009 Author Share Posted November 18, 2009 Dolemite50, thanks for the nice words. As for the tester, I'm using one written by lokster. Very simple but powerful script IMO. Multi line string? This was designed for a single line mode only.. no multi line option, yet. Maybe in the next release Hi ;) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now