freemarker.template.TemplateModelException: java.util.regex.PatternSyntaxException: Unknown inline modifier near index 66 ((unsigned|signed|long|short|\s+)\*\[a-zA-Z\_\]\w\*)\s+(\[a-zA-Z\_\]\w\*)(?\\\[(\[a-zA-Z\_\]\w\*|\d+)\\\])\s\*;                                                                ^

freemarker | nobody | 10 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    regex problem...

    freemarker | 10 years ago | nobody
    freemarker.template.TemplateModelException: java.util.regex.PatternSyntaxException: Unknown inline modifier near index 66 ((unsigned|signed|long|short|\s+)\*\[a-zA-Z\_\]\w\*)\s+(\[a-zA-Z\_\]\w\*)(?\\\[(\[a-zA-Z\_\]\w\*|\d+)\\\])\s\*;                                                                ^

    Root Cause Analysis

    1. freemarker.template.TemplateModelException

      java.util.regex.PatternSyntaxException: Unknown inline modifier near index 66 ((unsigned|signed|long|short|\s+)\*\[a-zA-Z\_\]\w\*)\s+(\[a-zA-Z\_\]\w\*)(?\\\[(\[a-zA-Z\_\]\w\*|\d+)\\\])\s\*;                                                                ^

      at freemarker.core.RegexBuiltins.getPattern()
    2. FreeMarker
      RegexBuiltins$MatcherBuilder.exec
      1. freemarker.core.RegexBuiltins.getPattern(RegexBuiltins.java:85)
      2. freemarker.core.RegexBuiltins$MatcherBuilder.exec(RegexBuiltins.java:280)
      2 frames