Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to restrict . and , in workitem summary

 Hi All,


Our development team want to avoid comma/quote (,) and fullstop (.) in summary of the workitems. We have tried restricting using the validators using a regular expression to restrict the special characters, but it is not working for the comma and fullstop. The current expression working for other special characters. We would like to know if anyone tried this earlier and share the right expression which worked.

Thanks,
Vinay

0 votes



One answer

Permanent link

 The information

but it is not working for the comma and fullstop
is not very useful. You could have shared the regexp or other useful information. If the validator works for other characters, but not for , and . I would consider that the regexp is the issue. Note that . is a meta character for "any character", so it needs to be escaped to match . afaik.

The only other way to implement this, would be by implementing a pre-condition/advisor server extension. 

1 vote

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,031

Question asked: Nov 29 '23, 6:30 a.m.

Question was seen: 801 times

Last updated: Nov 30 '23, 3:36 a.m.

Confirmation Cancel Confirm