Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Statement parsing #64

Merged
merged 3 commits into from
Jan 28, 2025
Merged

Fix Statement parsing #64

merged 3 commits into from
Jan 28, 2025

Conversation

bonflintstone
Copy link
Member

  • Fix header stripping regex
  • Better statement separating regex

@janz93 janz93 force-pushed the fix-header-stripping-regex branch from bca9404 to f5a66a7 Compare January 23, 2025 16:16
to improve the development experience we load the debugger on the test start to enable debugging automatically
@janz93 janz93 force-pushed the fix-header-stripping-regex branch 2 times, most recently from 80742f4 to c3224f7 Compare January 23, 2025 16:21
Making it work on statements without headers (replacing + by *)

Co-authored-by: Jan von Magnus <[email protected]>
@janz93 janz93 force-pushed the fix-header-stripping-regex branch from c3224f7 to 67a4b79 Compare January 23, 2025 16:22
@janz93 janz93 marked this pull request as ready for review January 23, 2025 16:24
Copy link
Member Author

@bonflintstone bonflintstone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't approve since it's my pr. Looks good!

.rspec Show resolved Hide resolved
lib/cmxl.rb Show resolved Hide resolved
spec/statement_spec.rb Show resolved Hide resolved
Split on lines starting with - and being surrounded by at least on
newline before, but arbitrary amounts of newlines before and after.
The dash can be followed by anything (having seen both '}' and 'ä' in
real examples)

Co-authored-by: Jan von Magnus <[email protected]>
@janz93 janz93 force-pushed the fix-header-stripping-regex branch from 8ad1237 to af2f314 Compare January 28, 2025 13:35
@janz93 janz93 merged commit c3ba2e0 into master Jan 28, 2025
5 checks passed
@janz93 janz93 deleted the fix-header-stripping-regex branch January 28, 2025 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants