in reply to Re: Regex random values pattern match and code efficiency
in thread Regex random values pattern match and code efficiency
Yes, extract values which are in braces only BUT the same values will not be there every time, for example, another file will only contain the following
DEPLOY_PARAMS=$DOMAIN{HOST},$DOMAIN{IP}
Or
DEPLOY_PARAMS=$DOMAIN{HOST}
For example, the values could change in every file so its not static mapping
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Regex random values pattern match and code efficiency
by hdb (Monsignor) on Sep 12, 2013 at 18:07 UTC |