Sha256: ae1d84056725156cc6d9a57fa645dc2f4de0f61aa477912b2e9d3c99aa489332
Contents?: true
Size: 135 Bytes
Versions: 13
Compression:
Stored size: 135 Bytes
Contents
require 'strscan' class StringScanner def advanced_scan(pat) result = scan(pat) result && result.match(pat) end end
Version data entries
13 entries across 13 versions & 1 rubygems