Skip to content

Capturing groups #229

Closed
Closed
@tomsonpl

Description

@tomsonpl

Hi, first of all big thanks for your work ;)
I am using your library to parse my kind of complicated friendly URL.

Do you think it is / would be possible to have a regexp like this? I mean including captured groups.

const priceRegex = "(cena)?(-od-:price_0(\\d+))?(-do-:price_1(\\d+))?(-zl)?";

I am trying to work around it, however this would be very useful in the future.

Thanks in advance,

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions