Hello, I am currently working on a pre-hook for tags on scriptrunner that will force users to freeze there dependencies. I have a problem about that.
I did a regex that checks this situation : .*requires\(\"[^\d|_|\-](\S)+/\[(\d)(\.\d)*\]
I did this regex using regex101.com based on a Java 8 flavor. The problem I have is that it seems that either scriptrunner does not understand this or it is that I don't know how to test my tags.
Is there someone that can help me please ?
Hi there,
Do you have an Adaptavist account? They have a Script library where I found this script to user regex to check mail. With some change you should be able to get this to work on your regex:
https://library.adaptavist.com/entity/use-regex-to-find-emails-address
Regads,
Jeroen
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.