Skip to content

How to match a string containing a fullstop? #17

Description

@byteborg

I'd like to match identifiers in the form of ABC123.4567 and link them to URLs in the form of https://server/path/123.4567.

As patterns I tried

  • ABC[\d+\.\d+]
  • ABC(\d+\.\d+)
  • ABC[(\d+\.\d+)]

but the match triggers only up to the full stop. Entering ABC345.6789 for example does not trigger, while entering ABC234 does. ABC567. also doesn't.

A regex in the form of (\d+\.\d+) should match, so could it be that full stops are somehow magic, or am I missing the obvious?

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