RE: Regex 101 Exercise S2 - Verify a string is a hex number

It turns out I made a little mistake. The regex should be more like ^[A-Fa-f0-9]+$. The "0" problem might be sorted like this ^[A-Fa-f1-9][A-Fa-f0-9]*$.

Technorati Tags
[feed], [feed], [feed], [feed], [feed], [feed], [feed], [feed], [feed]

Related Wikipedia Documents
, , , , , ,

My Related Documents
, ,

Related Amazon Books
A Programmer's Introduction to C# 2.0: /, A Programmer's Introduction to C# (.NET Developer Series): /, Regular Expression Pocket Reference: /, Regular Expression Recipes: A Problem-Solution Approach: /, Regular Expression Recipes for Windows Developers: a Problem-solution Approach: /, Programming C#: /, Windows Forms Programming in C#: /, ASP.NET Unleashed (Unleashed S.): /, MCAD Training Guide 70-316: Developing and Implementing Windows-based Applications with C# and Visual Studio.NET: /