
case conversion in regexp subexpression
Hi all,
i searched a lot but didn't find any hint how to solve the following
issue:
I'm looking for a regular expression that produces a subexpression
with the first character uppercase no matter the case was in die
matched sample.
E.g.
getCustomer --regexp--> Customer
getcustomer --regexp--> Customer
getxyz --regexp--> Xyz
What i have found so far is the simple get(.*) but that doesn't
uppercase the first character.
I'm using gnu.regexp regular expressions for java so i cannot deal
with perl operations.
Any help would be greatly appreciated. Thanks