79759525

Date: 2025-09-09 05:33:41
Score: 1
Natty:
Report link

Pattern p = Pattern.compile("\\b(?:Input|Calc)![A-Z]\\d+\\b");

  1. (?:Input|Calc) — either keyword

  2. ! — the literal exclamation that both forms share

  3. [A-Z] — exactly one uppercase column letter

  4. \\d+ — one or more digits

  5. \\b — word boundaries so you don’t bleed into adjacent text

Quick test with your samples

Matches found:

Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Xsu