Closed pokle closed 9 years ago
This matches:
(silk/match (silk/composite ["pre" (silk/integer :i) "post"]) "pre5post") ; => {:i 5}
But this throws a NumberFormatException (diff: extra letter 'c' after the 5)
(silk/match (silk/composite ["pre" (silk/integer :i) "post"]) "pre5cpost") ; => NumberFormatException For input string: "5c" java.lang.NumberFormatException.forInputString (NumberFormatException.java:65)
But I expect it to return nil
Thanks for the report! I'll get that fixed today.
Cheers!
This matches:
But this throws a NumberFormatException (diff: extra letter 'c' after the 5)
But I expect it to return nil