Example String:
{{--
some text
--}}
I'm trying to match anything between and including {{-- up to and including the first --}} It would need to capture returns and line breaks as well.
I tried something like this: \{\{--[^\r\n]--\}\}
which seems to capture everything between the brackets but I can't quite figure out how to capture the brackets as well.
edit I'm trying to modify a sublime text plugin that adds syntax hilighting for laravel's blade templating. As mentioned below: '({{--[\s\S]*--}})' matches what I'm looking to match. The brackets are probably being overridden by different rules.
\{\{--(?=(|\s*|))(.+|)(?=(|--\}\}|))
if that helps at all. – gin93r