Skip to content

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

Open
@NicMcPhee

Description

@NicMcPhee

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions