Skip to content

Add parameters for converting to uppercase, lowercase or capitalising of text matching function #288

@RealRaven2000

Description

@RealRaven2000

Text matching functions such as matchTextFromBody() will be even more useful if they allow conversion of case - these can be supplied with an additional parameter such as:

%matchTextFromBody("Customer.*\n\-+\n(.*)\n",1,capitalize)%
%matchTextFromSubject("Customer.*\n\-+\n(.*)\n",1,uppercase)%
%matchTextFromBody("Customer.*\n\-+\n(.*)\n",1,lowercase)%

%header.prefix.matchFromBody(subject,"Customer.*\n\-+\n(.*)\n",1,capitalize)%

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions