EllisLab/CodeIgniter — pull request #1207 by jerel (2012-03-20 18:17:43+00:00)
Title: Added support for regex in the csrf_exclude_uris array so that URIs can ...

...be skipped based on a pattern.

Example: to turn off CSRF checks everywhere but in an admin panel you could use: array('(?!admin).*?');

Plain strings should work as before: array('admin/demo-form', '(?!admin).*?');