RethinkDB 1.6 gets regex and array functions
The new version's
match command is built on Google's re2 and allows regular expressions to be used in filters or in secondary indexes for more efficient access. The new array operations cover operations such as adding, changing and removing elements (prepend, append, insertAt, deleteAt, changeAt), blending and splitting arrays (spliceAt, add, mul, difference), and testing array content (count, indexesOf, isEmpty).
There are also insert, union, difference and intersection operators for sets. Other changes include a new sample command, which returns a number of randomly selected records from a table, improvements in error handling, and the addition of basic shared-key authentication. The developers are now working on version 1.7 which will, among other things, improve performance and have better import/export tools.