laravel/framework — pull request #1481 by vlakoff (2013-05-31 18:19:01+00:00)
Title: Fix Str::is to not handle haystack as a regex.

See: https://github.com/laravel/laravel/issues/1998

By the way, slight optimization by removing useless regex grouping.

Feel free to suggest any improvements :-)