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
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

    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