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

Support of NOT #45

Open
wants to merge 1 commit into
base: master
from

Conversation

Projects
None yet
3 participants
@dionys

dionys commented Jul 30, 2016

Added overloaded ~ operator for comparison functions. ~$cmp is short for none($cmp). So you can write

re('^foo') & ~str('foobar')
@karenetheridge

This comment has been minimized.

Show comment
Hide comment
@karenetheridge

karenetheridge Jul 30, 2016

Contributor

This could have very interesting side effects in deep comparison routines and needs a lot of testing.

Contributor

karenetheridge commented Jul 30, 2016

This could have very interesting side effects in deep comparison routines and needs a lot of testing.

@rjbs

This comment has been minimized.

Show comment
Hide comment
@rjbs

rjbs Apr 19, 2018

Owner

There's now documentation on none, but I'm not particularly keen to add more operator overloading, though. I'll think about it more. (Despite this late reply, I have not been thinking about this. Sorry. :( )

Owner

rjbs commented Apr 19, 2018

There's now documentation on none, but I'm not particularly keen to add more operator overloading, though. I'll think about it more. (Despite this late reply, I have not been thinking about this. Sorry. :( )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment