On Jan 08 2019, polynomia...@gentoo.org wrote: > Description: > When sourcing a script that contains a variable which performs > a := parameter expansion with a regular expression while failglob
At this point it is just a random string, not a regular expression, and the fact that := is used is irrelevant. > shell option is enabled, bash-5.0 emits a "no match: <regexp>" At this point it is a glob pattern, not a regexp. > echo ${TESTPATTERN} If you don't want filename expansion, use quotes. Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."