Module: IGMarkets::Regex
- Defined in:
- lib/ig_markets/regex.rb
Overview
Contains regex’s for validating specific types of strings.
Constant Summary collapse
- CURRENCY =
Regex used to validate an ISO currency code.
/\A[A-Z]{3}\Z/.freeze
- EPIC =
Regex used to validate an EPIC.
/\A[A-Za-z0-9.,_]{6,30}\Z/.freeze