Closed romainFr closed 4 years ago
The default is such as existing code isn't altered (meaning it's using a regex)
I'll merge as it works and doesn't affect the default behavior.
Thanks @romainFr! Two quick comments.
Thanks!
Cool. Can one do fixed exact (whole teen) matches then? G.
Sent from my iPhone
On 13 Feb 2020, at 18:59, Romain Franconville notifications@github.com wrote:
Thanks!
Yes, partial matches work. I added a sentence in the docstring Just pushed that — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
(just a note that the travis error was just a failure to roxygenise)
(just a note that fixed=T does not handle exact matches where the whole field matches (only partial matches). I am addressing this.
neuprint_search
used to only take in regular expressions, which can be a bit cumbersome when querying names with brackets and other special characters. This PR adds afixed
option toneuprint_search
, which when TRUE, makes a literal search (like it's now in neuprint explorer), so that:returns what you would expect, when
returns NULL as it's expecting the brackets to be escaped.
This uses (like neuprint explorer), CONTAINS instead of =~ in the query