Sha256: 5168c8e12b0eb9177aeaaac53d8eb3ce726662fdd138b6885cc3141511333179
Contents?: true
Size: 462 Bytes
Versions: 1
Compression:
Stored size: 462 Bytes
Contents
# ecma-re-validator [![Build Status](https://travis-ci.org/gjtorikian/ecma-re-validator.svg?branch=master)](https://travis-ci.org/gjtorikian/ecma-re-validator) Pass in a string to validate if it would work in ECMA-262, aka JavaScript. The information for what is valid and what isn't comes from <http://www.regular-expressions.info/javascript.html>. ## Usage ``` ruby require 'ecma-re-validator' re = "[Ss]mith\\\\b" EcmaReValidator.valid?(re) # true ```
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ecma-re-validator-0.1.0 | README.md |