Yuraj Posted May 8, 2009 Posted May 8, 2009 Hi all, I don't know why autoit's StringRegExp doesn't allow quantifier in lookbehind (\s?): (?i)\b(?<=username:\s?)[\w-]+\b How to fix that? ShellExecute("http://www.yuraj.ucoz.com")ProcessClose(@AutoItPID)
WideBoyDixon Posted May 8, 2009 Posted May 8, 2009 It may be that the lookbehind expression has to be a fixed width. That's the case for some implementations of PCRE.WBD [center]Wide by name, Wide by nature and Wide by girth[u]Scripts[/u]{Hot Folders} {Screen Calipers} {Screen Crosshairs} {Cross-Process Subclassing} {GDI+ Clock} {ASCII Art Signatures}{Another GDI+ Clock} {Desktop Goldfish} {Game of Life} {3D Pie Chart} {Stock Tracker}[u]UDFs[/u]{_FileReplaceText} {_ArrayCompare} {_ToBase}~ My Scripts On Google Code ~[/center]
Yuraj Posted May 8, 2009 Author Posted May 8, 2009 It may be that the lookbehind expression has to be a fixed width. That's the case for some implementations of PCRE.WBDThanks! Do you know how to fix them? ShellExecute("http://www.yuraj.ucoz.com")ProcessClose(@AutoItPID)
Yuraj Posted May 8, 2009 Author Posted May 8, 2009 Try(?i)\b(?<=username:\s|username:)[\w-]+\bThanks! It works ! :-) ShellExecute("http://www.yuraj.ucoz.com")ProcessClose(@AutoItPID)
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