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 trialA X
12,842 PointsWhat is a regular expression with GREP?
Video reference: https://teamtreehouse.com/library/console-foundations/environment-and-redirection/find-and-grep
Jim mentions that grep uses regular expressions, but I'm not clear what that means. Can someone enlighten me? Thanks!
1 Answer
Steven Parker
231,248 PointsRegular expressions are a symbolic notation for representing string patterns.
The concept of regular expressions exist in many languages as well as utilities like grep. Here's a pretty extensive wikipedia page on it.
There's also plenty of information around regarding the specifics of the regular expression implementation for grep, such as this one: Grep and Regular Expressions.