List Info

Thread: P.S. to a prev post




P.S. to a prev post
user name
2006-11-21 20:40:23

carrying over from :

http://groups-beta.google.com/group/regex/browse_thread/thr
ead/3b8eca76e8ec4440/feb1adabf0a143d4#feb1adabf0a143d4


robertospara, u wrote


> Don't play smarter than you are and hear really smarter


i think u got carried away with your remarks. I can say that
those
words pertain to u too. People on this forum have been
treating each
other in a more professional and decent way, for your
information.

the task can be accomplished in one regex:


^(?:([a-d])(?!.*1))+$


**validates a str with 4 permitted alphas w/o any repeats**


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the
Google Groups "Regex" group.
To post to this group, send email to regexgooglegroups.com
To unsubscribe from this group, send email to
regex-unsubscribegooglegroups.com
For more options, visit this group at http://grou
ps-beta.google.com/group/regex
-~----------~----~----~----~------~----~------~--~---

P.S. to a prev post
user name
2006-11-21 20:59:01

alternatively, but more slow:

^(?!.*([a-d]).*1)[a-d]+$


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the
Google Groups "Regex" group.
To post to this group, send email to regexgooglegroups.com
To unsubscribe from this group, send email to
regex-unsubscribegooglegroups.com
For more options, visit this group at http://grou
ps-beta.google.com/group/regex
-~----------~----~----~----~------~----~------~--~---

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )