You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improve port parsing patterns to prevent FlowStorm false positives (#113)
* Improve port parsing patterns with case insensitivity and bounded whitespace
- Add case-insensitive matching to port, Started, and Listening patterns
- Use bounded whitespace (\s{1,10}) instead of unbounded (\s+) for predictability
- Add optional space after colon in port number pattern (:\s?)
- Add word boundary (\b) to port pattern to prevent false matches
- Add regression test for FlowStorm output (issue #109)
These changes maintain backward compatibility with all existing nREPL
output formats while preventing false positives from FlowStorm's
'mem_reporter__4628' output that was matching the old regex.
Co-authored-by: gveres <gveres@users.noreply.github.com>
* Add word boundary before 'port' pattern for maximum strictness
Per CodeRabbit review suggestion, add \b before 'port' to prevent
edge cases like 'support 12345' or 'transport 12345', and restrict
to 4-5 digits for consistency with other patterns.
---------
Co-authored-by: Bruce Hauman <bhauman@gmail.com>
Co-authored-by: gveres <gveres@users.noreply.github.com>
0 commit comments