wwRegEx::aRestoreExpressions

Restore stripped expressions in a text string that match a given static string that was typically created with aStripExpressions. This routine finds the static text and replaces it with the content of the array passed in one match for each string match.

o.aRestoreExpressions(@laMatches,lcText,lcReplaceText)

Parameters

@laMatches
Array of matches previously created with aStripExpressions. Pass by reference.

lcText
The text string to work on.

lcReplaceText
The replaced string expressions that are part of the text to be replaced with values from laMatches.


See also:

Class wwRegEx

© West Wind Technologies, 1996-2024 • Updated: 12/21/07
Comment or report problem with topic