Groups | Search | Server Info | Keyboard shortcuts | Login | Register


Groups > gnu.bash.bug > #16791

How anchor to line end in regex

From Budi <budikusasi@gmail.com>
Newsgroups gnu.bash.bug
Subject How anchor to line end in regex
Date 2020-08-23 09:13 +0700
Message-ID <mailman.827.1598148828.2469.bug-bash@gnu.org> (permalink)
References <CAH0GyZC85DZkUcwOMeuATvCF27O_N-4q+PKAPvaC5TxYvuVPcg@mail.gmail.com>

Show all headers | View raw


How anchor to line end in bash regex [[ ]]
h=hi
[[ $h =~ ^hi\$ ]] && echo Yes

cannot work, or is it bug yet

Back to gnu.bash.bug | Previous | Next | Find similar


Thread

How anchor to line end in regex Budi <budikusasi@gmail.com> - 2020-08-23 09:13 +0700

csiph-web