Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Searching of text with special chars fails. #21

Closed
GoogleCodeExporter opened this issue Jul 16, 2015 · 1 comment
Closed

Searching of text with special chars fails. #21

GoogleCodeExporter opened this issue Jul 16, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

Searching for a text using searchText fails. As Robotium tries to create a 
regex for it.

Can we have a searchText() overload which will not try to create a regex for it.


Text which I searched was
Light of Eidon (Legends of the Guardian-King, Book 1)

Original issue reported on code.google.com by aman.bha...@gmail.com on 16 Oct 2010 at 2:05

@GoogleCodeExporter
Copy link
Author

If you use "\\" before the text then special characters will not be taken into 
account. So basically you could use searchText("\\" + text). Many people like 
to use regex when doing searches so that is a feature that we can not remove. 
However I do agree that sometimes regex support can be annoying.


Original comment by renasr...@gmail.com on 16 Oct 2010 at 2:32

  • Changed state: WontFix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant