github的一些开源项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
399 B

  1. # These DFA tests are for the handling of characters greater than 255 in
  2. # 16-bit or 32-bit, non-UTF mode.
  3. #forbid_utf
  4. #subject dfa
  5. /^\x{ffff}+/i
  6. \x{ffff}
  7. 0: \x{ffff}
  8. /^\x{ffff}?/i
  9. \x{ffff}
  10. 0: \x{ffff}
  11. /^\x{ffff}*/i
  12. \x{ffff}
  13. 0: \x{ffff}
  14. /^\x{ffff}{3}/i
  15. \x{ffff}\x{ffff}\x{ffff}
  16. 0: \x{ffff}\x{ffff}\x{ffff}
  17. /^\x{ffff}{0,3}/i
  18. \x{ffff}
  19. 0: \x{ffff}
  20. # End of testinput13