4 lines
91 B
Bash
4 lines
91 B
Bash
s="I am a string"
|
|
if [[ $s =~ str..g$ ]]; then
|
|
echo "the string ends with 'str..g'"
|
|
fi
|