1
0
mirror of https://github.com/AG7GN/nexus-utilities.git synced 2025-05-15 22:20:09 -07:00

Fixed REGEX

This commit is contained in:
Steve Magnuson 2020-03-22 16:01:49 -07:00
parent d8d34bc2d1
commit a9ad35a49a
2 changed files with 3 additions and 3 deletions

View File

@ -78,7 +78,7 @@
#% #%
#================================================================ #================================================================
#- IMPLEMENTATION #- IMPLEMENTATION
#- version ${SCRIPT_NAME} 1.2.8 #- version ${SCRIPT_NAME} 1.2.9
#- author Steve Magnuson, AG7GN #- author Steve Magnuson, AG7GN
#- license CC-BY-SA Creative Commons License #- license CC-BY-SA Creative Commons License
#- script_id 0 #- script_id 0
@ -305,7 +305,7 @@ SEARCH_STRING="${1:-.*}" # Match anything if no search_string supplied.
declare -i LAST=$(( $(date +%s) - WAIT )) declare -i LAST=$(( $(date +%s) - WAIT ))
PID="$(pgrep -n fldigi)" PID="$(pgrep -n fldigi)"
# Start Of Message Regular Expression # 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 '<BS>'. read cmd chops off trailing '>' # End Of Message Regular Expression. FSQ end in '<BS>'. read cmd chops off trailing '>'
EOM_RE="<BS$" EOM_RE="<BS$"
COMPLETE_MESSAGE_RE="${SOM_RE}.*${EOM_RE}" COMPLETE_MESSAGE_RE="${SOM_RE}.*${EOM_RE}"

View File

@ -1 +1 @@
VERSION="2.1.16" VERSION="2.1.17"