Skip to content

Instantly share code, notes, and snippets.

@ppazos
Created June 10, 2025 19:09
Show Gist options
  • Save ppazos/9b8e25fd5a72f73cc970cc14f14dc5b6 to your computer and use it in GitHub Desktop.
Save ppazos/9b8e25fd5a72f73cc970cc14f14dc5b6 to your computer and use it in GitHub Desktop.
def subjectUid = '...'
if (!(subjectUid ==~ /([a-zA-Z0-9]{8}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{12})/))
{
return 'error'
}
return 'ok'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment