Sublime Forum

Beta 20100411 crash with regexp in find/search box

#1

So while testing a regexp for Makefile syntax highlighting with multiple targets [PATCH] I came across something which makes Sublime crash.

The regexp

^(^\t ]+(\s^\t ]+)?:(?!\=))\s*.*

works as intended. But when you change the ? before the : to a * it crashes Sublime.

0 Likes

#2

Cannot confirm in 20100413. Must have been fixed.

0 Likes

#3

I also tried this and it didn’t crash. Does it crash for you on every file (i.e., including an empty buffer), or does it need to be something specific?

0 Likes