Skip to content

nit on DECIMAL regular expression #30

@JaredDavis22

Description

@JaredDavis22

Quick review of the regular expression for DECIMAL

Currently it is

"(([-+]?[0-9]+(\\.[0-9]*)?([Ee][-+]?[0-9]+)?)([Dd]|[Ff]|[Ll])?).*"

Image

Group 5 can be simplified a bit. No idea if it will improve the performance.

"(([-+]?[0-9]+(\\.[0-9]*)?([Ee][-+]?[0-9]+)?)([DdFfLl])?).*"

Image

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