Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,295,347
Community Members
 
Community Events
165
Community Groups

Regex to limit length -JIRA page freezes

Edited

Hi, we have created a regex validator for a text field

"^$|(?=.{1,127}$)[A-Za-z0-9]+([A-Za-z0-9\-\.]*)+$" to make sure the input string is 127 characters long, starts with a letter/number, and only contains alphanumeric/hyphen/period characters.

The validator breaks just fine for "test-repo.lambda " however for "compare-gold-copy-price-to-vendor " or "compare-gold-copy-price-to-vendor-prices.lambda "(all of them with a space in the end), the page just freezes and the validator does not pop up.

It seems to be related to the length of the name because "test-repo-long-long-long-long.lambda " freezes it but "test-repo.lambda " breaks it.

Could you please help us on this. Thank you.

 

 

 

 

 

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you