I am using Ant and I want to match strings that look like import package.R; and import package.R.*; but not import package.Rxxx;
so it is very specific that I only want to some kind of wild card for these two characters ; and .
My current solution uses two different statements
match="import.+?\.R;"
match="import.+?\.R."
but I would like to combine them into one, for speed
I dont know much about ant specific regex but if it supports character classes as it should, then
Should work
[;.]meaning;or.