Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

WordPress WordPress Hooks - Actions and Filters Filter Functions in WordPress The add_filter Function

Johannes Corrodi Katzenstein
seal-mask
.a{fill-rule:evenodd;}techdegree
Johannes Corrodi Katzenstein
Front End Web Development Techdegree Student 23,659 Points

Problem with search in Sublime Text 3

Hello

When searching for an expression like "add_filter( 'excerpt_length" I get the following error message:

-----Searching 1277 files for "add_filter( 'excerpt_length" (regex)

Unmatched marking parenthesis ( or (. The error occurred while parsing the regular expression fragment: 'rpt_length>>>HERE>>>'. in regular expression add_filter( 'excerpt_length

0 matches across 0 files-------

Any suggestions how to solve this problem would be greatly appreciated.

2 Answers

on the left side of search box there are few options/buttons i believe the very first option on the left is to do with regex.. (hover over to make sure it says regex & click it)..

alternatively use this:

add_filter( 'excerpt_length

to search.. there is a tutorial here about regex in python but same rules apply.. regex searching is more powerful