diff --git a/Scripts/Bash/Functions/Html/html_getActions.sh b/Scripts/Bash/Functions/Html/html_getActions.sh index f55cb86..b543ae0 100755 --- a/Scripts/Bash/Functions/Html/html_getActions.sh +++ b/Scripts/Bash/Functions/Html/html_getActions.sh @@ -83,7 +83,10 @@ function html_getActions { if [[ $ACTIONVAL == '' ]];then cli_printMessage "$(caller)" 'AsToKnowMoreLine' fi - + + # Redefine regular expression to match html files only. + REGEX=$(echo "${REGEX}.*\.(html|htm)") + # Execute action name. if [[ $ACTIONNAM =~ "^${FUNCNAM}_[A-Za-z]+$" ]];then eval $ACTIONNAM diff --git a/Scripts/Bash/Functions/Html/html_updateHeadings.sh b/Scripts/Bash/Functions/Html/html_updateHeadings.sh index 2009f16..3a85949 100644 --- a/Scripts/Bash/Functions/Html/html_updateHeadings.sh +++ b/Scripts/Bash/Functions/Html/html_updateHeadings.sh @@ -57,9 +57,6 @@ function html_updateHeadings { # to save html action name, action value, and heading title. PATTERN="(]>)(.*[^<])" - # Redefine regular expression to match html files only. - REGEX=$(echo "${REGEX}.*\.(html|htm)") - # Define list of files to process. cli_getFilesList