Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

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