On 08/01/2009, efj <[email protected]> wrote:
>
>  Having thought about this in more detail it must be a variable substitution
>  issue only. As my java class, rather than jmeter, is doing the acutal regexp
>  evaluation. So why doesn't ${loopCount} get substituted in the following
>  line of text:
>
>  general000(?!${loopCount})
>
>  when it does in this one:
>
>  general000(${loopCount})

Try displaying the value that passed to the code.
For example,

${__log(general000(?!${loopCount})))

or whatever is more convenient.

>  I'm guessing I have to escape one of these three (?! so that jmeter still
>  recognises ${loopCount} as a variable to be replaced in the text string.
>
>  Though if escape it in the text won't this then change my regexp???
>
>  efj
>
> --
>  View this message in context: 
> http://www.nabble.com/using-variable-as-part-of-regular-expression---escapre-characters-tp21352547p21353202.html
>
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: [email protected]
>  For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to