categorize.dat 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. NOTE regex implementation categorization 2004-05-31
  2. ?E aa* xaxaax (1,2) POSITION=leftmost
  3. ; POSITION=bug
  4. ?E (a*)(ab)*(b*) abc (0,2)(0,1)(?,?)(1,2) ASSOCIATIVITY=right
  5. |E (a*)(ab)*(b*) abc (0,2)(0,0)(0,2)(2,2) ASSOCIATIVITY=left
  6. ; ASSOCIATIVITY=bug
  7. ?E ((a*)(ab)*)((b*)(a*)) aba (0,3)(0,2)(0,0)(0,2)(2,3)(2,2)(2,3) SUBEXPRESSION=precedence
  8. |E ((a*)(ab)*)((b*)(a*)) aba (0,3)(0,1)(0,1)(?,?)(1,3)(1,2)(2,3) SUBEXPRESSION=grouping
  9. ; SUBEXPRESSION=bug
  10. ?E (...?.?)* xxxxxx (0,6)(4,6) REPEAT_LONGEST=first
  11. |E (...?.?)* xxxxxx (0,6)(2,6) REPEAT_LONGEST=last
  12. |E (...?.?)* xxxxxx OK REPEAT_LONGEST=unknown
  13. ; REPEAT_LONGEST=bug
  14. ?E (a|ab)(bc|c) abcabc (0,3)(0,2)(2,3) EXPECTED
  15. |E (a|ab)(bc|c) abcabc (0,3)(0,1)(1,3) BUG=alternation-order
  16. ; BUG=alternation-order-UNKNOWN
  17. ?E (aba|a*b)(aba|a*b) ababa (0,5)(0,2)(2,5) EXPECTED
  18. |E (aba|a*b)(aba|a*b) ababa (0,4)(0,3)(3,4) BUG=first-match
  19. ; BUG=unknown-match
  20. ?B a\(b\)*\1 a NOMATCH EXPECTED
  21. |B a\(b\)*\1 a (0,1) BUG=nomatch-match
  22. |B a\(b\)*\1 abab (0,2)(1,2) # BUG=repeat-any
  23. ; BUG=nomatch-match-UNKNOWN
  24. ?E (a*){2} xxxxx (0,0)(0,0) EXPECTED
  25. |E (a*){2} xxxxx (5,5)(5,5) BUG=range-null
  26. ; BUG=range-null-UNKNOWN
  27. ?B a\(b\)*\1 abab NOMATCH EXPECTED
  28. |B a\(b\)*\1 abab (0,1) # BUG=nomatch-match
  29. |B a\(b\)*\1 abab (0,2)(1,2) BUG=repeat-any
  30. ; BUG=repeat-any-UNKNOWN
  31. ?E (a*)* a (0,1)(0,1) EXPECTED
  32. |E (a*)* ax (0,1)(0,1) BUG=repeat-null-unknown
  33. |E (a*)* a (0,1)(1,1) BUG=repeat-null
  34. ; BUG=repeat-null-UNKNOWN
  35. ?E (aba|a*b)* ababa (0,5)(2,5) EXPECTED
  36. |E (aba|a*b)* ababa (0,5)(3,4) BUG=repeat-short
  37. |E (aba|a*b)* ababa (0,4)(3,4) # LENGTH=first
  38. ; BUG=repeat-short-UNKNOWN
  39. ?E (a(b)?)+ aba (0,3)(2,3) EXPECTED
  40. |E (a(b)?)+ aba (0,3)(2,3)(1,2) BUG=repeat-artifact
  41. ; BUG=repeat-artifact-UNKNOWN
  42. ?B \(a\(b\)*\)*\2 abab NOMATCH EXPECTED
  43. |B \(a\(b\)*\)*\2 abab (0,4)(2,3)(1,2) BUG=repeat-artifact-nomatch
  44. ; BUG=repeat-artifact-nomatch-UNKNOWN
  45. ?E (a?)((ab)?)(b?)a?(ab)?b? abab (0,4)(0,1)(1,1)(?,?)(1,2)(2,4) BUG=subexpression-first
  46. |E .*(.*) ab (0,2)(2,2) EXPECTED
  47. |E .*(.*) ab (0,2)(0,2) BUG=subexpression-first
  48. ; BUG=subexpression-first-UNKNOWN