Skip to content

Conversation

hubermat
Copy link

@hubermat hubermat commented Jun 1, 2017

The current regex also matches strings like

IDLE OK Idle completed (0.001 + 26.237 + 26.239 secs).

which it shouldn't. As a result, for IMAP servers returning the above string, the client does not correctly leave idle mode.

The regex is missing a ^ in the second case (before the +). I would have expected too, that one ^ at the beginning would be enough, but the | ignores the ^ and then every + is matched.

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.

1 participant