Android studio Android Studio Logcat过滤器精确标记

Android studio Android Studio Logcat过滤器精确标记,android-studio,filter,logcat,android-logcat,Android Studio,Filter,Logcat,Android Logcat,可以在Android Studio Logcat中过滤精确的标签吗?我正在寻找标签“lights”,但每个包含“lights”的标签(如“lightService”)也会打印出来。在logcat的“编辑过滤器配置”右侧,可以创建新的过滤器。标记字段作为正则表达式处理。所以,如果我输入“lights”,所有包含“lights”的东西,比如“lightService”,都会被找到。正确的正则表达式为“^lights$”以仅查找“lights”

可以在Android Studio Logcat中过滤精确的标签吗?我正在寻找标签“lights”,但每个包含“lights”的标签(如“lightService”)也会打印出来。

在logcat的“编辑过滤器配置”右侧,可以创建新的过滤器。标记字段作为正则表达式处理。所以,如果我输入“lights”,所有包含“lights”的东西,比如“lightService”,都会被找到。正确的正则表达式为“^lights$”以仅查找“lights”