We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3cda66 commit 1a85dddCopy full SHA for 1a85ddd
clojure/src/main/clj/cucumber/runtime/clj.clj
@@ -150,7 +150,7 @@
150
table, for example: reading | \"1\" | 1 | we should intepret 1 as an int
151
and \"1\" as a string. This is used by kv-table->map and table->rows."
152
[string]
153
- (if (re-matches #"[0-9]+\.?[0-9]+" string)
+ (if (re-matches #"^:.*|\d+(\.\d+)?" string)
154
(read-string string)
155
(str/replace string #"\"" "")))
156
0 commit comments