org.apache.xerces.impl.xpath.regex.ParseException: Unexpected end of the pattern in a character class.

xerces-j-users | Jernej Tuljak | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    RegularExpression 'X' option oddity

    xerces-j-users | 4 years ago | Jernej Tuljak
    org.apache.xerces.impl.xpath.regex.ParseException: Unexpected end of the pattern in a character class.
  2. 0

    RegularExpression 'X' option oddity

    xerces-j-users | 4 years ago | Jernej Tuljak
    org.apache.xerces.impl.xpath.regex.ParseException: Unexpected end of the pattern in a character class.

    Root Cause Analysis

    1. org.apache.xerces.impl.xpath.regex.ParseException

      Unexpected end of the pattern in a character class.

      at org.apache.xerces.impl.xpath.regex.RegexParser.ex()
    2. Xerces2-j
      RegularExpression.<init>
      1. org.apache.xerces.impl.xpath.regex.RegexParser.ex(Unknown Source)
      2. org.apache.xerces.impl.xpath.regex.RegexParser.parseCharacterClass(UnknownSource)
      3. org.apache.xerces.impl.xpath.regex.RegexParser.parseAtom(UnknownSource)
      4. org.apache.xerces.impl.xpath.regex.RegexParser.parseFactor(Unknown Source)
      5. org.apache.xerces.impl.xpath.regex.RegexParser.parseTerm(UnknownSource)
      6. org.apache.xerces.impl.xpath.regex.RegexParser.parseRegex(Unknown Source)
      7. org.apache.xerces.impl.xpath.regex.RegexParser.processParen(Unknown Source)
      8. org.apache.xerces.impl.xpath.regex.RegexParser.parseAtom(UnknownSource)
      9. org.apache.xerces.impl.xpath.regex.RegexParser.parseFactor(Unknown Source)
      10. org.apache.xerces.impl.xpath.regex.RegexParser.parseTerm(UnknownSource)
      11. org.apache.xerces.impl.xpath.regex.RegexParser.parseRegex(Unknown Source)
      12. org.apache.xerces.impl.xpath.regex.RegexParser.parse(UnknownSource)
      13. org.apache.xerces.impl.xpath.regex.RegularExpression.setPattern(UnknownSource)
      14. org.apache.xerces.impl.xpath.regex.RegularExpression.setPattern(UnknownSource)
      15. org.apache.xerces.impl.xpath.regex.RegularExpression.<init>(Unknown Source)
      15 frames
    3. com.mgsoft.testing
      XercesRegexTest.main
      1. com.mgsoft.testing.regex.XercesRegexTest.main(XercesRegexTest.java:9)
      1 frame