📌  相关文章
📜  检查字符串正则表达式 bash 末尾是否有单词 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:01.650000             🧑  作者: Mango

代码示例1
Just appreciate next solution example for your code implementation:
S=finding
if[[ "$S" == *ing ]]; then ...//some code
More generally:
if[[ "string_to_check" == regex_patten ]]; then ...//some code