File tree 1 file changed +1
-1
lines changed
1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change 44
44
template_checker = regex .compile (r"<([^\";<>]|(?0))*>" )
45
45
template_checker2 = regex .compile (r"<([^\";<>]|(?0))*>$" )
46
46
nullfinder = regex .compile (r"null([^\w]|$)" )
47
- solution_finder = regex .compile (r"(//\s*BEGIN SOLUTION|\/\*\s*BEGIN SOLUTION\s*\*\/)((?!(//\s*BEGIN SOLUTION|\/\*\s*BEGIN SOLUTION\s*\*\/|//\s*END SOLUTION|\/\*\s*END SOLUTION\s*\*\/)).)*(//\s*END SOLUTION|\/\*\s*END SOLUTION\s*\*\/)" ,
47
+ solution_finder = regex .compile (r"(//\s*BEGIN SOLUTION|\/\*\s*BEGIN SOLUTION\s*\*\/)((?!(//\s*BEGIN SOLUTION|\/\*\s*BEGIN SOLUTION\s*\*\/|//\s*END SOLUTION|\/\*\s*END SOLUTION\s*\*\/)).)*(//\s*END SOLUTION[^\n]*\n? |\/\*\s*END SOLUTION\s*\*\/)" ,
48
48
regex .DOTALL | regex .IGNORECASE )
49
49
server_internal_finder = regex .compile (r"(?://|/\*)\s*BEGIN\s+SERVER\s+INTERNAL(?:(?!(?://|/\*)\s*END\s+SERVER\s+INTERNAL).)*(?:(?://|/\*)\s*END\s+SERVER\s+INTERNAL\s*(?:\*/)?)?" ,
50
50
regex .DOTALL | regex .IGNORECASE )
You can’t perform that action at this time.
0 commit comments