Commit ee6642d
committed
Split scan_full/search_full overloads by return_string_p
`return_string_p` selects the return value: the matched `String` when
true, the number of bytes advanced (`Integer`) when false. Express this
with `true`/`false` literal overloads instead of a single
`(String | Integer)?` return type.1 parent 3f807b4 commit ee6642d
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1290 | 1290 | | |
1291 | 1291 | | |
1292 | 1292 | | |
1293 | | - | |
| 1293 | + | |
| 1294 | + | |
1294 | 1295 | | |
1295 | 1296 | | |
1296 | 1297 | | |
| |||
1369 | 1370 | | |
1370 | 1371 | | |
1371 | 1372 | | |
1372 | | - | |
| 1373 | + | |
| 1374 | + | |
1373 | 1375 | | |
1374 | 1376 | | |
1375 | 1377 | | |
| |||
0 commit comments