One edge case I didn't consider is scientific notation. client.search_regex won't consider something 100 == 1e2, so we basically pray that the str(float(str)) conversion produces something that matches the database.
At this point, we're patching over an interface that really doesn't seem to handle numerics correctly. This is probably worth a deeper look, perhaps at other search methods on the backends.
Originally posted by @tangkong in #261 (comment)
One edge case I didn't consider is scientific notation.
client.search_regexwon't consider something100==1e2, so we basically pray that thestr(float(str))conversion produces something that matches the database.At this point, we're patching over an interface that really doesn't seem to handle numerics correctly. This is probably worth a deeper look, perhaps at other search methods on the backends.
Originally posted by @tangkong in #261 (comment)