Sha256: 77eaabef2cb2b58f75e5cf67dd2e8582d3990a13ce1f337c0c2a4821d10e117b
Contents?: true
Size: 802 Bytes
Versions: 51
Compression:
Stored size: 802 Bytes
Contents
require 'spec_helper' RSpec.describe('Type scanning') do include_examples 'scan', 'a\\dc', 1 => [:type, :digit, '\\d', 1, 3] include_examples 'scan', 'a\\Dc', 1 => [:type, :nondigit, '\\D', 1, 3] include_examples 'scan', 'a\\hc', 1 => [:type, :hex, '\\h', 1, 3] include_examples 'scan', 'a\\Hc', 1 => [:type, :nonhex, '\\H', 1, 3] include_examples 'scan', 'a\\sc', 1 => [:type, :space, '\\s', 1, 3] include_examples 'scan', 'a\\Sc', 1 => [:type, :nonspace, '\\S', 1, 3] include_examples 'scan', 'a\\wc', 1 => [:type, :word, '\\w', 1, 3] include_examples 'scan', 'a\\Wc', 1 => [:type, :nonword, '\\W', 1, 3] include_examples 'scan', 'a\\Rc', 1 => [:type, :linebreak, '\\R', 1, 3] include_examples 'scan', 'a\\Xc', 1 => [:type, :xgrapheme, '\\X', 1, 3] end
Version data entries
51 entries across 38 versions & 10 rubygems