Sublime Forum

Issues on regexp in sublime-syntax with long line (16386 characters)

#1

Hi there,

I’ve a log file with long strings: it’s a json in one line with additional data in the end. It could be a 50k characters in line.

I’m trying to add custom syntax definition with sublime-syntax, but it’s stop working after 16386 character in one line. If line length is 16385 -> it’s works fine.

Here is a sublime-syntax file: https://pastebin.com/u2P0zevv
Example data file: https://pastebin.com/4vcE2yDn

Screenshot:

0 Likes

#2
0 Likes