Regex Guru

Tuesday, 18 March 2008

If You Do It Differently, Document It Clearly

Filed under: The Guru's Kitchen — Jan Goyvaerts @ 18:19

People get used to established standards. Even bad ones. If you come up with something better, make sure to explain it clearly, or brace yourself for lots of complaints you’re not following the old ways.

Saturday, 15 March 2008

Convenience and Compatibility

Filed under: Regex Philosophy — Jan Goyvaerts @ 15:39

Being overly strict about what input your program or web site accepts makes it hard to use. Being overly lax causes compatibility headaches with future versions.

Friday, 14 March 2008

Regex Trouble

Filed under: Regex Trouble — Jan Goyvaerts @ 8:49

Recap of 4 articles on regular expressions pitfalls I previously posted to www.regular-expressions.info

Thursday, 13 March 2008

Validating Credit Card Numbers

Filed under: Regex Examples — Jan Goyvaerts @ 8:33

Example regular expressions to check if a series of digits looks like a valid credit card number for any of the major brands.

Tuesday, 11 March 2008

No Spaces or Dashes

Filed under: Regex Philosophy — Jan Goyvaerts @ 10:01

It’s easier to use a trivial regex to strip out spaces and dashes from credit card numbers than to blame the customer for typing them in.

Tuesday, 4 March 2008

Welcome to Regex Guru

Filed under: About Regex Guru — Jan Goyvaerts @ 16:59

Introducing the Regex Guru blog.

« Previous Page