[GH-ISSUE #2124] Regex matching not working on Android Chrome (works on desktop) #27397

Closed
opened 2026-04-18 10:52:21 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @shanereichart on GitHub (Oct 11, 2022).
Original GitHub issue: https://github.com/bitwarden/android/issues/2124

Steps To Reproduce

  1. Create a login with regex type matching. For testing, I used: \?page=admin$. (Match any URL ending in the literal string "?page=admin".)
  2. Visit a domain which should match the regex. ("{anydomain.com}?page=admin")
  3. Tap on a field requesting login credentials.

Expected Result

I expect Bitwarden on Android Chrome to have the same matching results it has on Windows Edge, where I see the expected matching result.

Actual Result

Bitwarden on Android fails to find any login matches.

Screenshots or Videos

image

Screenshot_20221011-113911

Additional Context

I saw there was a previous issue with Android Chrome not matching starts with patterns because the schema is not shown in the address bar. This is not related to that issue because in this case, whether the schema is shown or not, the makeshift "ends with" pattern should match.

Operating System

Android

Operating System Version

No response

Device

No response

Build Version

2022.9.1 (5047)

Beta

  • Using a pre-release version of the application.
Originally created by @shanereichart on GitHub (Oct 11, 2022). Original GitHub issue: https://github.com/bitwarden/android/issues/2124 ### Steps To Reproduce 1. Create a login with regex type matching. For testing, I used: `\?page=admin$`. (Match _any_ URL ending in the literal string "?page=admin".) 2. Visit a domain which should match the regex. ("{anydomain.com}?page=admin") 3. Tap on a field requesting login credentials. ### Expected Result I expect Bitwarden on Android Chrome to have the same matching results it has on Windows Edge, where I see the expected matching result. ### Actual Result Bitwarden on Android fails to find any login matches. ### Screenshots or Videos ![image](https://user-images.githubusercontent.com/16807422/195136332-6ca8e9fe-af6a-4610-9fb7-2e345ae7f7fb.png) ![Screenshot_20221011-113911](https://user-images.githubusercontent.com/16807422/195137378-26ec6608-3e4c-424d-880b-9d94c10b2505.png) ### Additional Context I saw there was a previous issue with Android Chrome not matching _starts with_ patterns because the schema is not shown in the address bar. This is not related to that issue because in this case, whether the schema is shown or not, the makeshift "ends with" pattern should match. ### Operating System Android ### Operating System Version _No response_ ### Device _No response_ ### Build Version 2022.9.1 (5047) ### Beta - [ ] Using a pre-release version of the application.
GiteaMirror added the bug label 2026-04-18 10:52:21 -05:00
Author
Owner

@nomonkeynodeal commented on GitHub (Oct 23, 2022):

Came here to post this same issue. It's been a problem since I started using regex matching maybe a year ago. It doesn't work in Firefox for Android either.

<!-- gh-comment-id:1288166992 --> @nomonkeynodeal commented on GitHub (Oct 23, 2022): Came here to post this same issue. It's been a problem since I started using regex matching maybe a year ago. It doesn't work in Firefox for Android either.
Author
Owner

@chewiebug commented on GitHub (Nov 26, 2022):

same for me

Steps To Reproduce

  • configure "auto-fill service" as the only option for auto-filling
  • Create a login with regex type matching ((https://)?(www.)?gospelchor-winterthur.ch/login/)
  • visit https://www.gospelchor-winterthur.ch/login/
  • Tap on a field requesting login credentials.

Expected Result

See all matches (same configuration works in Browser extensions on Windows 10 and iPad OS 15)

Actual Result

Bitwarden on Android fails to find any login matches.

Screenshots or Videos

Additional Context

same issue with "starts with" patterns.

Workarounds discussed in #578 seem to work here, as well (use accessibility service instead of auto-fill service)

Operating System

Android

Operating System Version

11

Device

Fairphone 4

Build Version

2022.10.0 (5247)

Beta

  • Using a pre-release version of the application.
<!-- gh-comment-id:1328085290 --> @chewiebug commented on GitHub (Nov 26, 2022): same for me ### Steps To Reproduce - configure "auto-fill service" as the only option for auto-filling - Create a login with regex type matching ((https://)?(www.)?gospelchor-winterthur.ch/login/) - visit https://www.gospelchor-winterthur.ch/login/ - Tap on a field requesting login credentials. ### Expected Result See all matches (same configuration works in Browser extensions on Windows 10 and iPad OS 15) ### Actual Result Bitwarden on Android fails to find any login matches. ### Screenshots or Videos ### Additional Context same issue with "starts with" patterns. Workarounds discussed in #578 seem to work here, as well (use accessibility service instead of auto-fill service) ### Operating System Android ### Operating System Version 11 ### Device Fairphone 4 ### Build Version 2022.10.0 (5247) ### Beta - [ ] Using a pre-release version of the application.
Author
Owner

@vvolkgang commented on GitHub (Jun 20, 2024):

Issue migrated to https://github.com/bitwarden/mobile/issues/2124

<!-- gh-comment-id:2181393562 --> @vvolkgang commented on GitHub (Jun 20, 2024): Issue migrated to https://github.com/bitwarden/mobile/issues/2124
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/android#27397