Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

RegEx Max Limit

Status
Not open for further replies.

behbeh

Programmer
Mar 10, 2001
48
0
0
US
Hello!
Does anyone know if there is a maximum number or words/strings you can use in regex alternations?
(Ex: OH | Ohio | PA | Pennsylvania | RI | Rhode Island |...)
I know regex's are fast but if there is a limit or if hundreds of words in the alternation would slow it down to a crawl, I would greatly appreciate knowing this prior to building my expressions.
Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top