Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mention grep -P to get things like \d #7

Open
NicMcPhee opened this issue Jul 30, 2020 · 0 comments
Open

Mention grep -P to get things like \d #7

NicMcPhee opened this issue Jul 30, 2020 · 0 comments

Comments

@NicMcPhee
Copy link
Contributor

NicMcPhee commented Jul 30, 2020

The grep -P flag enables Perl regex syntax, which includes a lot of useful things like \d for digits. Running man pcresyntax will give them a list of all the nifty things that this includes.

This won't work on the default MacOS (BSD) version of grep, so folks on a Mac do need to make sure they've installed and am using the GNU versions of these tools.

@NicMcPhee NicMcPhee added this to the Start of Fall 2019 milestone Aug 11, 2020
@NicMcPhee NicMcPhee removed this from the Start of Fall 2019 milestone Aug 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant