Skip to content

rewrite regex without using look-around #22

@swanandx

Description

@swanandx

Following regex won't compile as regex crate doesn't support look-around.

If possible, can we rewrite them in such a way that they don't use look-around??

  • Internet Protocol (IP) Address Version 6
  • Bitcoin (₿) Wallet Address
  • American Social Security Number
  • Date of Birth
  • JSON Web Token (JWT)
  • Amazon Web Services Access Key
  • Amazon Web Services Secret Access Key
  • YouTube Video ID

Update them in src/data/regex.json

PS: You can run following command in repo if you want to see exact syntax error of regex ( or just use regex crate to compile them one by one )

cargo test validate_regex_examples -- --show-output

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