Skip to content

Example regexp #4

@eflanigan00

Description

@eflanigan00

Nice package, thanks for putting this together.
In your example you use \(\s-*[0-9]+\) I can't get that to work.

What works for me is if I go to group -1 and use \([0-9]+\)

What does the -* do in your example? Is this some negation?

  • \s is whitespace
  • [0-9]+ is one or more number

Also posting all the steps in your gif as commands would be useful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions