Alterego Posted May 30, 2005 Posted May 30, 2005 I remember someone posting it but I can't find it. The built in regular expression engine just doesn't work correctly. I've verified that \<h2\>.+\<\/h2\> should match h2 tags with anything at all inbetween them, but the built in engine chokes on the 12th character colon in <h2>Template:Spanish-name and Template:Chinese-name</h2>. According to the help file, a period should Match any single character. Apparantly not!Anyway, if anyone knows where that dll is that would be helpful. This dynamic web page is powered by AutoIt 3.
Alterego Posted May 30, 2005 Author Posted May 30, 2005 It appears that (<h2>.+</h2>) is the correct way. I could still go for that DllCall. I don't plan on learning a non-standard implementation of something so widely used across languages. This dynamic web page is powered by AutoIt 3.
/dev/null Posted May 30, 2005 Posted May 30, 2005 Anyway, if anyone knows where that dll is that would be helpful.This one? Reg Exp DllCheersKurt __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *
Alterego Posted May 30, 2005 Author Posted May 30, 2005 that thing works really well thanks!<h2[^>]*>(.*?)</h2> This dynamic web page is powered by AutoIt 3.
therks Posted May 30, 2005 Posted May 30, 2005 It appears that (<h2>.+</h2>) is the correct way. I could still go for that DllCall. I don't plan on learning a non-standard implementation of something so widely used across languages.<{POST_SNAPBACK}>Actually, that's the method of regular expression that I am most familiar with. It would appear that you are more familiar with the PERL style regular expressions. If you've ever used PHP, you'll noticed that you have a choice in which RegEx style you use, either PERL, or POSIX. It's not necessarily non-standard, just another choice. My AutoIt Stuff | My Github
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