Skip to content

Conversation

@JoshTheWanderer
Copy link
Member

Summary

  • Fix italic pattern to allow *italic* at the start of a line/message
  • The previous pattern used (?<!^) which prevented matching at line start
  • New pattern uses lookarounds to avoid **bold** and * list items without excluding line starts
  • Add tests for italic at line start and multi-line italic

🤖 Generated with Claude Code

@sonarqubecloud
Copy link

@JoshTheWanderer JoshTheWanderer merged commit bc40617 into main Jan 23, 2026
12 checks passed
@JoshTheWanderer JoshTheWanderer deleted the fix/italic-and-bold branch January 23, 2026 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants