Architecture #10747
open
regextract cannot extract values that contains ${TEXT} if TEXT is not a variable
Added by Nicolas CHARLES over 7 years ago.
Updated almost 7 years ago.
Description
Agent tries to expand variables in regextract, even if it doesn't make sense
Escaping with ${const.dollar}{TEXT} doesn't fix the issue, nor does ${const.dollar}{const.dollar}{const.dollar}{const.dollar}{const.dollar}{const.dollar}{TEXT} (i stopped at 6)
This prevents using shell variables in, for instance , ssh_key_definition (see #10715)
- Related to Bug #10715: escaping ${SSH_ORIGINAL_COMMAND} in GUI - sshKeyDistribution/3.0 added
- Description updated (diff)
- Target version changed from 3.1.20 to 3.1.21
- Tracker changed from Bug to Architecture
Perhaps a workaround could be to assign to a variable (so that the expansion is done) before the regextract call. It would be needed in each technique using regextract.
This one is an architecture bug.
- Target version changed from 3.1.21 to 3.1.22
- Target version changed from 3.1.22 to 3.1.23
- Target version changed from 3.1.23 to 3.1.24
- Target version changed from 3.1.24 to 3.1.25
- Target version changed from 3.1.25 to 387
- Target version changed from 387 to 4.1.10
- Target version changed from 4.1.10 to Ideas (not version specific)
Also available in: Atom
PDF