This commit is contained in:
Maxime Coste 2019-06-11 23:19:52 +10:00
commit 85e2dc6252

View File

@ -58,9 +58,9 @@ The page can be a word, or a word directly followed by a section number between
## The completion suggestions display the page number, strip them if present ## The completion suggestions display the page number, strip them if present
case "${subject}" in case "${subject}" in
*\([1-8]*\)) *\([1-8]*\))
pagenum="${subject##*(}" pagenum="${subject##*\(}"
pagenum="${pagenum%)}" pagenum="${pagenum%\)}"
subject="${subject%%(*}" subject="${subject%%\(*}"
;; ;;
esac esac