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

Multiline output isn't captured #8

Closed
smashwilson opened this issue Oct 13, 2015 · 1 comment
Closed

Multiline output isn't captured #8

smashwilson opened this issue Oct 13, 2015 · 1 comment

Comments

@smashwilson
Copy link
Owner

Multiple (even asynchronous) msg.send calls are handled fine, but msg.send "line one\nline two" results in everything after the first newline being cut off for all downstream processing.

@smashwilson
Copy link
Owner Author

Ah, nope, I was mistaken, this me messing up a RegExp.

Note that the m multiline flag doesn't change the dot behavior. So to match a pattern across multiple lines, the character set [^] can be used (if you don't mean an old version of IE, of course), it will match any character including newlines.

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

No branches or pull requests

1 participant