android-uiautomator-server icon indicating copy to clipboard operation
android-uiautomator-server copied to clipboard

textMatches multiline does not match

Open serhatozles opened this issue 5 years ago • 1 comments

if ((getMask() & Selector.MASK_TEXTMATCHES) > 0) { if (s == null) s = By.text(Pattern.compile(getTextMatches())); else s = s.text(Pattern.compile(getTextMatches())); }

I checked this line, I found some articles for this: https://stackoverflow.com/questions/3651725/match-multiline-text-using-regular-expression

Can you please fix this?

serhatozles avatar Jan 19 '20 17:01 serhatozles

A PR would be welcomed.

mingyuan-xia avatar Jul 15 '20 11:07 mingyuan-xia