LoadRunner Regular Expressions

I have a real challenge for LoadRunner specialists, professionals, and gurus.
I would like to start new public investigation on LoadRunner regexp (regular expressions).
The reward is $52.25.

As you know, LoadRunner supports limited and 'light' regular expressions. These are special text flags of web_reg_save_param function to support 'light'LoadRunner regular expressions:
  • /DIG interprets the pound sign (#) as a wildcard for a single digit.
    For example, "te##xt" matches for "te23xt", and doesn't match for "text" and "te234xt".
  • /ALNUM interprets the caret sign (^) as a wildcard for a single US–ASCII alphanumeric character.
    There are three syntaxes: ALNUMIC to ignore case, ALNUMLC to match only lower case, and ALNUMUC to match only upper case.
    For example, with ALNUMLC flag enabled, "te^^xt" matches for "tenext", and doesn't match for "teNext" and "teneoxt".
The task is simple:
How to use real regular expressions in LoadRunner with C language?

Note: you can use real regexps with VBScript or Java. With standard LoadRunner C language this is not easy task!

I tried to use PCRE, but LoadRunner generated memory exception.

All I want is to process regexp templates, like:

  • (\w+)@(\w+)\.(\w+)
  • test.*
  • ^91[a-z]$
  • Windows(?=95 |98 |NT|XP)
  • and so on

No comments:

Post a Comment