Libraries
»
abstractor
(4.2.0)
»
Index (R)
»
Regexp
Class: Regexp
Inherits:
Object
Object
Regexp
show all
Defined in:
lib/abstractor/core_ext/string.rb
Constant Summary
collapse
NUMERIC =
Regexp
.
union
(
%r{^-?\d{1,3}(,\d{3}|\d+)*(\.\d+)*$}
,
%r{^\(?\d{1,3}(,\d{3}|\d+)*(\.\d+)*\)?$}
)