Best practice to make action appear only if a certain URL contained in the selected text?

Hi,

what is the best practice make an action appear only if a certain URL is contained in the selected text?

This?

requirements: [url]
regex: https://forum.popclip.app

Thanks!

PS: @nick The section on the requirements array (Actions — PopClip Developer) would benefit from examples (general usage, how to set multiple requirements, negation). Thanks.