regexp-examples 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 070f108bdf60292bcb76bfcfc9036d7681f46844
4
- data.tar.gz: cd09253f3ec4c272e4e6dd895c69334def2d3321
3
+ metadata.gz: 1b60b844e84384e758c2f1eafe5a667d139e6003
4
+ data.tar.gz: 54b4a5741642eb3cf32be182f191ef910c835c96
5
5
  SHA512:
6
- metadata.gz: c984b1d6dab4488368d85373099cd5c64e2406cd4f100957cfa413662e4f78307bfa1a06a641d670c0e9fc7e0bc9821c10acd34851f6408d9afbde44b0b72b66
7
- data.tar.gz: 77b51a5c67c4b1a1a357a123049848a43e4bcf29f89aa2cc3ba3272f6e032d1ea5e7363317e7ce38b0af5741ffcc190604cace8a79108e0ccd8c83682ddc71d8
6
+ metadata.gz: e2dc8496cb6d45555b8da957c178cbc0e9be86ca9d769275c2f5bf74ef4f67fe5bdab47a0458527fc8ea4e4ee5621377541e470072313b34f5d1c5ec0b50b4cb
7
+ data.tar.gz: 63c4765a9704387dc85cec23537717416403e96bcfb469649ab4a1d6d09993ddab75366af55f792f8ea8a3530f6dc5b2f48f3018ff2b1429c36c27ff204bd446
data/README.md CHANGED
@@ -31,7 +31,7 @@ or a huge number of possible matches, such as `/.\w/`, then only a subset of the
31
31
 
32
32
  * All forms of repeaters (quantifiers), e.g. `/a*/`, `/a+/`, `/a?/`, `/a{1,4}/`, `/a{3,}/`, `a{,2}`
33
33
  * Boolean "Or" groups, e.g. `/a|b|c/`
34
- * Character sets (inluding ranges and negation!), e.g. `/[abc]/`, `/[A-Z0-9]/`, `/[^a-z]/`
34
+ * Character sets (inluding ranges and negation!), e.g. `/[abc]/`, `/[A-Z0-9]/`, `/[^a-z]/`, `/[\w\s\b]/`
35
35
  * Escaped characters, e.g. `/\n/`, `/\w/`, `/\D/` (and so on...)
36
36
  * Non-capture groups, e.g. `/(?:foo)/`
37
37
  * Capture groups, e.g. `/(group)/`
@@ -47,7 +47,7 @@ or a huge number of possible matches, such as `/.\w/`, then only a subset of the
47
47
 
48
48
  * Options, e.g. `/pattern/i`, `/foo.*bar/m` - Using options will currently just be ignored, e.g. `/test/i.examples` will NOT include `"TEST"`
49
49
 
50
- Using any of the following will raise an RegexpExamples::UnsupportedSyntax exception (until such time as they are implemented!):
50
+ Using any of the following will raise a RegexpExamples::UnsupportedSyntax exception (until such time as they are implemented!):
51
51
 
52
52
  * POSIX bracket expressions, e.g. `/[[:alnum:]]/`, `/[[:space:]]/`
53
53
  * Named properties, e.g. `/\p{L}/` ("Letter"), `/\p{Arabic}/` ("Arabic character"), `/\p{^Ll}/` ("Not a lowercase letter")
@@ -58,7 +58,7 @@ Using any of the following will raise an RegexpExamples::UnsupportedSyntax excep
58
58
  The following features in the regex language can never be properly implemented into this gem because, put simply, they are not technically "regular"!
59
59
  If you'd like to understand this in more detail, there are many good blog posts out on the internet. The [wikipedia entry](http://en.wikipedia.org/wiki/Regular_expression)'s not bad either.
60
60
 
61
- Using any of the following will raise an RegexpExamples::IllegalSyntax exception:
61
+ Using any of the following will raise a RegexpExamples::IllegalSyntax exception:
62
62
 
63
63
  * Lookarounds, e.g. `/foo(?=bar)/`, `/foo(?!bar)/`, `/(?<=foo)bar/`, `/(?<!foo)bar/`
64
64
  * [Anchors](http://ruby-doc.org/core-2.2.0/Regexp.html#class-Regexp-label-Anchors) (`\b`, `\B`, `\G`, `^`, `\A`, `$`, `\z`, `\Z`), e.g. `/\bword\b/`, `/line1\n^line2/`
@@ -16,8 +16,8 @@
16
16
  null,
17
17
  null,
18
18
  1,
19
- 319,
20
- 319,
19
+ 320,
20
+ 320,
21
21
  191,
22
22
  264,
23
23
  null,
@@ -38,28 +38,28 @@
38
38
  1,
39
39
  1,
40
40
  1,
41
- 360,
41
+ 361,
42
42
  null,
43
43
  null,
44
44
  1,
45
- 319,
46
- 319,
47
- 319,
48
- 349,
49
- 463,
45
+ 320,
46
+ 320,
47
+ 320,
48
+ 350,
49
+ 464,
50
50
  null,
51
51
  null,
52
- 319,
52
+ 320,
53
53
  null,
54
54
  null,
55
55
  null,
56
56
  1,
57
57
  1,
58
- 335,
58
+ 336,
59
59
  null,
60
60
  null,
61
61
  1,
62
- 294,
62
+ 295,
63
63
  null,
64
64
  null,
65
65
  null,
@@ -117,11 +117,11 @@
117
117
  1,
118
118
  1,
119
119
  1,
120
- 75,
121
- 171,
120
+ 76,
121
+ 172,
122
122
  28,
123
123
  null,
124
- 171,
124
+ 172,
125
125
  null,
126
126
  null,
127
127
  null,
@@ -192,34 +192,34 @@
192
192
  1,
193
193
  1,
194
194
  1,
195
- 92,
196
- 92,
197
- 92,
195
+ 93,
196
+ 93,
197
+ 93,
198
198
  null,
199
199
  null,
200
200
  1,
201
- 140,
202
- 140,
203
- 419,
204
- 401,
205
- 360,
206
- 360,
207
- 360,
201
+ 141,
202
+ 141,
203
+ 420,
204
+ 402,
205
+ 361,
206
+ 361,
207
+ 361,
208
208
  null,
209
- 122,
209
+ 123,
210
210
  null,
211
211
  null,
212
212
  1,
213
213
  null,
214
214
  1,
215
- 419,
216
- 419,
215
+ 420,
216
+ 420,
217
217
  null,
218
218
  46,
219
219
  null,
220
220
  41,
221
221
  null,
222
- 15,
222
+ 16,
223
223
  null,
224
224
  4,
225
225
  null,
@@ -241,7 +241,7 @@
241
241
  null,
242
242
  240,
243
243
  null,
244
- 401,
244
+ 402,
245
245
  null,
246
246
  null,
247
247
  1,
@@ -294,8 +294,8 @@
294
294
  null,
295
295
  null,
296
296
  1,
297
- 360,
298
- 360,
297
+ 361,
298
+ 361,
299
299
  null,
300
300
  5,
301
301
  null,
@@ -305,9 +305,9 @@
305
305
  null,
306
306
  5,
307
307
  null,
308
- 335,
308
+ 336,
309
309
  null,
310
- 360,
310
+ 361,
311
311
  null,
312
312
  null,
313
313
  1,
@@ -339,27 +339,27 @@
339
339
  null,
340
340
  null,
341
341
  1,
342
- 15,
342
+ 16,
343
343
  1,
344
344
  null,
345
- 14,
346
- 14,
347
- 14,
345
+ 15,
346
+ 15,
347
+ 15,
348
348
  null,
349
349
  null,
350
350
  1,
351
351
  1,
352
352
  null,
353
353
  null,
354
- 14,
354
+ 15,
355
355
  null,
356
356
  null,
357
357
  null,
358
358
  null,
359
- 41,
360
- 41,
359
+ 43,
360
+ 43,
361
361
  null,
362
- 14,
362
+ 15,
363
363
  null,
364
364
  null,
365
365
  1,
@@ -419,11 +419,11 @@
419
419
  null,
420
420
  null,
421
421
  1,
422
- 335,
422
+ 336,
423
423
  null,
424
424
  null,
425
425
  1,
426
- 293,
426
+ 294,
427
427
  null,
428
428
  null,
429
429
  null,
@@ -437,12 +437,12 @@
437
437
  1,
438
438
  1,
439
439
  1,
440
- 1758,
441
- 1758,
442
- 1758,
440
+ 1760,
441
+ 1760,
442
+ 1760,
443
443
  122,
444
444
  null,
445
- 1758,
445
+ 1760,
446
446
  null,
447
447
  null,
448
448
  1,
@@ -452,7 +452,7 @@
452
452
  null,
453
453
  null,
454
454
  1,
455
- 463,
455
+ 464,
456
456
  null,
457
457
  null,
458
458
  null,
@@ -467,39 +467,41 @@
467
467
  null,
468
468
  1,
469
469
  1,
470
- 28,
471
- 28,
470
+ 29,
471
+ 29,
472
472
  1,
473
473
  1,
474
474
  null,
475
- 27,
475
+ 28,
476
476
  null,
477
477
  null,
478
- 28,
479
- 28,
478
+ 29,
479
+ 29,
480
480
  null,
481
481
  null,
482
482
  1,
483
483
  null,
484
- 28,
485
- 28,
486
- 28,
487
- 28,
484
+ 29,
485
+ 29,
486
+ 29,
487
+ 29,
488
488
  null,
489
- 28,
489
+ 29,
490
490
  9,
491
491
  null,
492
492
  null,
493
- 28,
494
- 28,
493
+ 29,
494
+ 29,
495
495
  null,
496
496
  null,
497
497
  1,
498
- 28,
499
- 540,
500
- 13,
498
+ 29,
499
+ 541,
500
+ 14,
501
501
  4,
502
502
  null,
503
+ 1,
504
+ null,
503
505
  2,
504
506
  null,
505
507
  7,
@@ -509,8 +511,8 @@
509
511
  null,
510
512
  null,
511
513
  1,
512
- 28,
513
- 572,
514
+ 29,
515
+ 573,
514
516
  null,
515
517
  null,
516
518
  null,
@@ -580,12 +582,12 @@
580
582
  1,
581
583
  1,
582
584
  1,
583
- 92,
585
+ 93,
584
586
  null,
585
587
  null,
586
- 162,
587
- 75,
588
- 75,
588
+ 163,
589
+ 76,
590
+ 76,
589
591
  null,
590
592
  null,
591
593
  1,
@@ -596,10 +598,10 @@
596
598
  1,
597
599
  1,
598
600
  11,
599
- 75,
600
- 75,
601
- 75,
602
- 246,
601
+ 76,
602
+ 76,
603
+ 76,
604
+ 248,
603
605
  null,
604
606
  null,
605
607
  null,
@@ -692,6 +694,7 @@
692
694
  null,
693
695
  null,
694
696
  null,
697
+ null,
695
698
  1,
696
699
  1,
697
700
  null,
@@ -787,6 +790,6 @@
787
790
  null
788
791
  ]
789
792
  },
790
- "timestamp": 1421519798
793
+ "timestamp": 1421523841
791
794
  }
792
795
  }