hi all,
i need a regex to match tags that looks like <A>, <BB>, <CCC>, but not <ABC>, <aaa>, <>. so the tag must consist of the same uppercase letter, repeated. i've tried <[A-Z]+>, but that doesn't work. of course i can write something like <(A+|B+|C+|...)> and so on, but i wonder if there's a more elegant solution. thanks.