1
0
mirror of https://github.com/AG7GN/nexus-utilities.git synced 2025-05-21 00:40:12 -07:00

Fixed REGEX to recognize allcall

This commit is contained in:
Steve Magnuson 2020-03-22 15:35:49 -07:00
parent 97921f4770
commit d8d34bc2d1
2 changed files with 3 additions and 3 deletions

View File

@ -78,7 +78,7 @@
#% #%
#================================================================ #================================================================
#- IMPLEMENTATION #- IMPLEMENTATION
#- version ${SCRIPT_NAME} 1.2.7 #- version ${SCRIPT_NAME} 1.2.8
#- 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]" SOM_RE="^[a-z]{1,2}[0-9].*:..([a-z]{1,2}[0-9]|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.15" VERSION="2.1.16"