| 1373 | } |
| 1374 | |
| 1375 | void* fxCharSetWords(txPatternParser* parser) |
| 1376 | { |
| 1377 | txCharSet* result; |
| 1378 | if (parser->flags & XS_REGEXP_I) { |
| 1379 | if (parser->flags & XS_REGEXP_UV) { |
| 1380 | result = fxPatternParserCreateTerm(parser, sizeof(txCharSet) + (6 * sizeof(txInteger)), fxCharSetMeasure); |
| 1381 | result->stringCount = 0; |
| 1382 | result->strings = C_NULL; |
| 1383 | result->characters[0] = 6; |
| 1384 | result->characters[1] = '0'; |
| 1385 | result->characters[2] = '9' + 1; |
| 1386 | result->characters[3] = '_'; |
| 1387 | result->characters[4] = '_' + 1; |
| 1388 | result->characters[5] = 'a'; |
| 1389 | result->characters[6] = 'z' + 1; |
| 1390 | } |
| 1391 | else { |
| 1392 | result = fxPatternParserCreateTerm(parser, sizeof(txCharSet) + (6 * sizeof(txInteger)), fxCharSetMeasure); |
| 1393 | result->stringCount = 0; |
| 1394 | result->strings = C_NULL; |
| 1395 | result->characters[0] = 6; |
| 1396 | result->characters[1] = '0'; |
| 1397 | result->characters[2] = '9' + 1; |
| 1398 | result->characters[3] = 'A'; |
| 1399 | result->characters[4] = 'Z' + 1; |
| 1400 | result->characters[5] = '_'; |
| 1401 | result->characters[6] = '_' + 1; |
| 1402 | } |
| 1403 | } |
| 1404 | else { |
| 1405 | result = fxPatternParserCreateTerm(parser, sizeof(txCharSet) + (8 * sizeof(txInteger)), fxCharSetMeasure); |
| 1406 | result->stringCount = 0; |
| 1407 | result->strings = C_NULL; |
| 1408 | result->characters[0] = 8; |
| 1409 | result->characters[1] = '0'; |
| 1410 | result->characters[2] = '9' + 1; |
| 1411 | result->characters[3] = 'A'; |
| 1412 | result->characters[4] = 'Z' + 1; |
| 1413 | result->characters[5] = '_'; |
| 1414 | result->characters[6] = '_' + 1; |
| 1415 | result->characters[7] = 'a'; |
| 1416 | result->characters[8] = 'z' + 1; |
| 1417 | } |
| 1418 | return result; |
| 1419 | } |
| 1420 | |
| 1421 | void fxCaptureNameEscape(txPatternParser* parser) |
| 1422 | { |
no test coverage detected