There is documentation on the Android Developer website sharing tips to run Android UI tests via the command-line which I’ve found super useful. It provides examples on how to run specific tests (instead of running them all) including running by package, class or method. This documentation is fantastic, but it doesn’t include the tests_regex argument […]
I have a several texts blocks. The text contains article and his number in different format. the text contains several blocks and the title of the article itself with a number. There may be numbers in the text of the article, but they are not needed. I need get only article number. For example should […]
Being a perpetual RegEx n00b, one thing I keep on forgetting is that it is easy to get tripped up when extracting information from an input. I always forget that looking for a match does not really just give back just the matching values – they are instead contained in Groups. Matches and Groups and […]
Regular expressions are on of the most powerful tools in a developer’s toolkit. But let’s be honest, regex kind of sucks to write. Not only is it hard to write, but it’s also hard to read and debug too. So how can we make it easier to use? In its traditional form, regex defines powerful […]