logquacious icon indicating copy to clipboard operation
logquacious copied to clipboard

shortenJavaFqcn does not match correctly with hyphens and/or numbers

Open gak opened this issue 4 years ago • 1 comments

Haven't looked into it, but here's an example that doesn't collapse: com.something.MyClass.cake-steak-banana-apple-3

gak avatar Feb 09 '20 04:02 gak

That's not a valid Java fcqn, you can't have hyphens. It's possible the regex is failing on numbers

mightyguava avatar Feb 13 '20 15:02 mightyguava