Fork me on GitHub
#datomic
<
2020-02-15
>
daniel.spaniel17:02:21

Curious to know if a regex query in the where clause like this

daniel.spaniel17:02:24

[?e :invoice/number ?number]
 [(re-find ?regex ?number)]

daniel.spaniel17:02:52

is supported .. my regex is like #"(?i)blah"

daniel.spaniel17:02:17

this works in the in memory datomic but is barfing in datomic cloud ( ion )

daniel.spaniel17:02:56

the error is

Not supported: class java.util.regex.Pattern

steveb8n22:02:15

@dansudol try putting the Pattern class in the :allow values of ion-config.edn