What are the main strength and the main weakness of signature-based detection?
Strength: precise, understandable and easy to extend. Weakness: it only catches attacks that already have a signature, and broadening signatures raises false positives.
A signature works like an antivirus pattern: when the data matches, the IDS alerts, and the alert says exactly which rule matched and why. That makes alerts easy to explain and easy to tune, and most IDSs let you write your own.
The price is that every known attack, and every variant of it, needs its own signature. A new exploit, or a known one with a small change (different encoding, extra whitespace), slips through until the signature is updated.
You can make a signature less specific so that it catches a whole family of variants. But a looser pattern also matches more harmless traffic, so the false-positive rate goes up, and every false alarm costs analyst time. Tuning a signature is always a trade-off between missing attacks (false negatives) and drowning analysts in noise (false positives).
Go deeper:
Suricata: Rules Format — take apart a real signature to see why it is precise and why each variant needs its own rule.
NIST SP 800-94: Guide to Intrusion Detection and Prevention Systems (PDF) — section 2.3.1 on why signatures handle known threats well but miss new attacks and altered variants.