laravel/laravel — pull request #740 by dlpetrie (2012-05-31 18:32:18+00:00)
Title: Blade: Making parenthesis matching non-greedy to prevent extending issues

Made parenthesis matching non-greedy.

Issue:
```
@section('content')
@widget('users::form.create') // blade extension
@endsection
```
When the above is called, the @section regex currently matches all the way to " form.create') " instead of ending at " content') ".

Proposed changes turn off greedy matching so it will end the match appropriately. Downside is you can not use parenthesis inside the command calls now, but not sure why that would be needed. There may be a better regex solution for this if that is wanted.