Skip to content

Need better regex for psci/--compute-module-name! #4

Closed
@sellout

Description

@sellout

The current regex requires a space after the module name, but I have Emacs clean up all trailing whitespace, so it can never find the module. I think "^module\\s-+\\\([a-zA-Z0-9\\\.]+\\\)\\b" (using word boundary rather than a space) will do the right thing. I also replace the space after “module” with \\s-+ to allow for arbitrary whitespace.

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