It's all about the answers!

Ask a question

RequiredContentAdvisor for enforcement of copyright statements


Michael Haeberlen (81164) | asked Sep 27 '17, 4:45 a.m.
edited Sep 27 '17, 4:47 a.m.

It looks like the Required Content precondition in process customization can only test for strings, not regular expressions.
This makes it difficult e.g. to check for correct year in a copyright string.
Or is there any trick I have overseen?

One answer



permanent link
Ralph Schoon (57.0k23642) | answered Sep 27 '17, 5:54 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

 The current year is a pretty static string, isn't it?


Comments
Ralph Schoon commented Sep 27 '17, 5:57 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

Oh, correct year. I am not sure how to check for a correct year, but if you have needs that exceed the existing precondition, it is possible to create custom ones.  


Michael Haeberlen commented Sep 27 '17, 7:11 a.m.

"I am not sure how to check for a correct year" -> regular expression
this way it would also be possible to provide better quick fix (other than just prefixing with a complete new string).
I will consider custom adviser....

Your answer


Register or to post your answer.