Jump to content

StringRegExp() docs suggestion.


GEOSoft
 Share

Recommended Posts

The matching characters table in StringRegExp is so messed up that it would be a good idea if someone that understood StringRegExp() really well could re-write the table. No table would probably be better than the one we currently have.

examples

(?s)

. (dot) is in there twice but only one has a description at all

There are more. I don't spot them until I try to read that table.

George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Link to comment
Share on other sites

The matching characters table in StringRegExp is so messed up that it would be a good idea if someone that understood StringRegExp() really well could re-write the table. No table would probably be better than the one we currently have.

examples

(?s)

. (dot) is in there twice but only one has a description at all

There are more. I don't spot them until I try to read that table.

It does need a bit little bit of tidying up to make it clearer what some of the commands are for but the basic are OK. Including a link to a good tutorial would be useful.

http://www.regular-expressions.info is in my opinion one of the best and does not assume any prior knowledge of the reader. It has plenty of simple and easy to follow examples, if anything about regex can be said to be easy for someone just discovering RegEx.

"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to build bigger and better idiots. So far, the universe is winning."- Rick Cook

Link to comment
Share on other sites

It does need a bit little bit of tidying up to make it clearer what some of the commands are for but the basic are OK. Including a link to a good tutorial would be useful.

http://www.regular-expressions.info is in my opinion one of the best and does not assume any prior knowledge of the reader. It has plenty of simple and easy to follow examples, if anything about regex can be said to be easy for someone just discovering RegEx.

Thanks for the link. It's good but it doesn't solve the problem in the AutoIt help file. There is a lot of good sites for RegExp help that are so much clearer than that table is and the table in some cases is totally wrong. In those cases the file does more harm than good.

George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...