Last active
September 16, 2015 21:10
-
-
Save qmcree/f24e913f3612e67484f6 to your computer and use it in GitHub Desktop.
Regular expression that matches all references to raw-output Blade directives in Laravel 4. I needed it for replacing them to the new raw output directive in Laravel 5.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(?<!\{)\{\{(?!\{|--)(.+)(?<!\}|--)\}\}(?!}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment