/* Mention regex: - **Purpose**: - To identify and highlight specific mentions in text that start with '@'. - These mentions can be file paths, URLs, or the exact word 'problems'. - Ensures that trailing punctuation marks (like commas, periods, etc.) are not included in the match, allowing punctuation to follow the mention without being part of it. - Restricts @ parsing to line-start or after whitespace to avoid accidental loading from pasted logs. - **Regex Breakdown**: - `(?:^|\s)`: - **Non-Capturing Group (`(?:...)`)**: Groups the alternatives without capturing them. - **Line Start or Whitespace (`^|\s`)**: The @ must be at the start of a line or preceded by whitespace. - `(?