Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #==============================================================================
- # ** NumericForm
- #------------------------------------------------------------------------------
- # The regular expression that represents a number in base 10
- #==============================================================================
- $imported = {} unless $imported
- $imported["Numeric Form Regex"] = true
- module NumericForm
- Regex = /\A(?:-|)\d+(?:\.|)(?:\d+|)\Z/
- end
- #==============================================================================
- # -------------------------------End of File-----------------------------------
- #==============================================================================
Advertisement
Add Comment
Please, Sign In to add comment