Skip to content

RegExp format #39

@killmenot

Description

@killmenot

Hey @aetheon

What's your thoughts to improve RegExpFormat from /^\/.*\/(\w*)$/ to /^\/.*\/([gimuy]*)$/

The current isRegExpStr function returns true for such strings like '/users/all'or /admin/emails

Of course, new regexp also doesn't resolve all issues, it can provide wrong results for such strings like /users/mig or similar but I think it's better anyway. WDYT?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions