2 Replies Latest reply on Apr 14, 2010 8:40 AM by Marcel Vielsack

    Crashcourse Regex

    Marcel Vielsack Newbie


      I'm validating an input with the @Pattern annotation and want my regex to match patterns like this:

      1.0, 1, 1.25, 12.45

      and I built this regex:


      But the validation fails ... :(

      Does anybody know why the validation fails?

      Cheers Marcel