Fixed
Details
Assignee
Michael OffnerMichael OffnerReporter
Zac SpitzerZac SpitzerPriority
NewLabels
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Affects versions
Details
Details
Assignee
Michael Offner
Michael OffnerReporter
Zac Spitzer
Zac SpitzerPriority
Labels
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Affects versions
Created 20 October 2020 at 16:31
Updated 21 June 2021 at 14:55
Resolved 4 December 2020 at 05:30
https://github.com/lucee/lucee-docs/blob/master/api/rendering/SyntaxHighlighter.cfc#L45
lucee.runtime.exp.NativeException: begin -1, end -1, length 3877 at java.base/java.lang.String.checkBoundsBeginEnd(String.java:3319) at java.base/java.lang.String.substring(String.java:1874) at lucee.runtime.regex.Perl5Util.getMatchStruct(Perl5Util.java:187) at lucee.runtime.regex.Perl5Util.find(Perl5Util.java:141) at lucee.runtime.regex.Perl5Regex.find(Perl5Regex.java:65) at lucee.runtime.functions.string.REFind.call(REFind.java:57) at lucee.runtime.functions.string.REFind.call(REFind.java:45)
<h1>ReFind test case LDEV-3066</h1> <cfscript> dump(server.lucee.version); startPos=840; text = FileRead("https://raw.githubusercontent.com/lucee/lucee-docs/master/docs/06.docs/02.markdown/page.md"); referenceRegex = "```([a-z\+]+)?\n(.*?)\n```"; dump(arguments); flush; match = ReFind( referenceRegex, text, startPos, true ); dump(match); </cfscript>