查找选项Match case、Match whole word、Match regular expression的区别

    xiaoxiao2022-06-26  186

     

    IAR全局查找的快捷键是 Ctrl + Shift + F,弹出界面如下:

    Match case:区分大小写

    Match whole word: 全字符匹配

    Match regular expression: 使用正则表达式

    1、如果只勾选 Match case,搜索关键字必须输入 "Digit_Count"才能找到 "Digit_Count"。

    2、如果只勾选 Match whole word,搜索关键字只要输入 "digit_count",就能找到 "digit_count"的字符串,不管它里面的大小写情况。

    3、如果只勾选 Match regular expression,搜索关键字只要输入 "digit_count",就能找到包含 "digit_count"的字符串,不管"digit_count"是前缀还是后缀,也不管它里面的大小写等情况。  

     


    最新回复(0)