code: URL
name: URLs and email addresses
definition: Web addresses and email addresses in text.
normalization: words
detection:
- source: mfte
requires:
- word
cql: '[word="http.*|www\..*"]'
description: URL tokens starting with http or www.
- requires:
- word
regex: https?://\S+|www\.\S+
description: Raw text regex for URLs. No tokenizer needed.
sources:
- mfte