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

matching error fails with >>> string #237

Closed
cbm755 opened this issue Oct 2, 2019 · 0 comments · Fixed by #240
Closed

matching error fails with >>> string #237

cbm755 opened this issue Oct 2, 2019 · 0 comments · Fixed by #240

Comments

@cbm755
Copy link
Collaborator

cbm755 commented Oct 2, 2019

This doctest does not pass:

% >> 2 + (1 + !))
% ??? parse error:
%
% syntax error
%
% >>> 2 + (1 + !))
%               ^
%
%
% >> a = 43
% a = 43

This does:

% >> 2 + (1 + !))
% ??? parse error:
%
% syntax error >>> 2 + (1 + !)) ^
%
%
% >> a = 43
% a = 43

@catch22 pointed out

From a quick glance the regex part capturing the output does
stop upon meeting >> (rather than >> ).

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 a pull request may close this issue.

1 participant