Agile (MOSC)

MOSC Banner

Groovy Regex headache

edited Sep 23, 2012 11:10PM in Agile (MOSC) 4 commentsAnswered
Trying to match items that start with TSnnnnnn or Doc-nnnnnn using:
    if (itemNumber ==~ /^Doc|TS/) {....}

I cant see anything worng with my regular expression, and:

     if (strPart ==~ /[A-Q a-q S-Z s-z]/) {....}

works elswhere im my script, so my syntax appears OK. Any insights appriciated.

Adrian

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center