From a9ad35a49a1baa1458c82f975c4dbce44c723b32 Mon Sep 17 00:00:00 2001 From: Steve Magnuson Date: Sun, 22 Mar 2020 16:01:49 -0700 Subject: [PATCH] Fixed REGEX --- fsq_search.sh | 4 ++-- hampi-utilities.version | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fsq_search.sh b/fsq_search.sh index 84ca2cd..44086cc 100755 --- a/fsq_search.sh +++ b/fsq_search.sh @@ -78,7 +78,7 @@ #% #================================================================ #- IMPLEMENTATION -#- version ${SCRIPT_NAME} 1.2.8 +#- version ${SCRIPT_NAME} 1.2.9 #- author Steve Magnuson, AG7GN #- license CC-BY-SA Creative Commons License #- script_id 0 @@ -305,7 +305,7 @@ SEARCH_STRING="${1:-.*}" # Match anything if no search_string supplied. declare -i LAST=$(( $(date +%s) - WAIT )) PID="$(pgrep -n fldigi)" # Start Of Message Regular Expression -SOM_RE="^[a-z]{1,2}[0-9].*:..([a-z]{1,2}[0-9]|allcall)" +SOM_RE="^[a-z]{1,2}[0-9][a-z].*:..([a-z]{1,2}[0-9][a-z]|allcall)" # End Of Message Regular Expression. FSQ end in ''. read cmd chops off trailing '>' EOM_RE="