clarify regexp used for trim