Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated regex to fit OID requirements #66

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

radishco
Copy link
Contributor

@radishco radishco commented Nov 19, 2024

PR Details

Description

Needed to update the regex controlling the Road Authority ID to ensure that the first number is either a 0 1 or 2, and if it's 0 or 1, then the second number needs to be less than 40.

Related GitHub Issue

Related Jira Key

MAP-220

Motivation and Context

Updated to meet requirements of OID

How Has This Been Tested?

Updated the index.html file that contains the regex, built and tested the field with the different conditions to ensure that the behavior is as expected

Types of changes

  • [X ] Defect fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that cause existing functionality to change)

Checklist:

  • I have added any new packages to the sonar-scanner.properties file
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Copy link

sonarcloud bot commented Nov 19, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant