For those who can't RegEx their way out of a wet paper bag..

For discussions about game development that does not fit in any of the other topics.
Post Reply
User avatar
Jackolantern
Posts: 10891
Joined: Wed Jul 01, 2009 11:00 pm

For those who can't RegEx their way out of a wet paper bag..

Post by Jackolantern »

...like myself (I swear, I am going to sit down and really learn Regular Expressions 100% one day instead of just finding them on Stack Overflow, I promise!), I found a really neat project for a number of different languages (including most of the ones people use here) that lets you assemble RegEx expressions with plain-English method calls. I highly suggest to check out!

VerbalExpressions for node (includes links to other language and platform ports). Scroll down to "Testing if we have a valid URL" to see how its usage looks.
The indelible lord of tl;dr
Lord Rahl
Posts: 93
Joined: Fri May 17, 2013 2:51 pm

Re: For those who can't RegEx their way out of a wet paper b

Post by Lord Rahl »

To test regular expression I tend to use a tool such as RegExr.
User avatar
hallsofvallhalla
Site Admin
Posts: 12026
Joined: Wed Apr 22, 2009 11:29 pm

Re: For those who can't RegEx their way out of a wet paper b

Post by hallsofvallhalla »

I couldn't regex my way out of an open bag that I was already dumped out of.

Good links. I will need them.
User avatar
MikuzA
Posts: 394
Joined: Thu Aug 08, 2013 8:57 am

Re: For those who can't RegEx their way out of a wet paper b

Post by MikuzA »

hah, VerbalExpressions looks awesome, like the way they built it, then, maybe, then, anythingbut :D
But sorry to say, I'm stuck with google on RegEx, It's not needed that often anyways in my work.

Tools are always good to test it thou, Security is important!
Why so serious?

Business Intelligence, Data Engineering, Data Mining
PHP, HTML, JavaScript, Bash/KornShell, Python, C#, PL/SQL
MySQL, DB2, Oracle, Snowflake
Pentaho, DataStage, Matillion, Unity3D, Blender
User avatar
Jackolantern
Posts: 10891
Joined: Wed Jul 01, 2009 11:00 pm

Re: For those who can't RegEx their way out of a wet paper b

Post by Jackolantern »

I hear you :) Google has worked for me for some time now, but sometimes I need a really complex one that just isn't going to be on Stack Overflow or elsewhere. Like you said, not everyday, but it still looks like a great tool.
The indelible lord of tl;dr
Post Reply

Return to “General Development”