Metadata-Version: 2.1
Name: datasette-rure
Version: 0.1
Summary: Datasette plugin that adds a custom SQL function for executing matches using the Rust regular expression engine
Home-page: https://github.com/simonw/datasette-rure
Author: Simon Willison
License: Apache License, Version 2.0
Platform: UNKNOWN
Description-Content-Type: text/markdown
Requires-Dist: datasette
Requires-Dist: rure
Provides-Extra: test
Requires-Dist: pytest ; extra == 'test'

# datasette-rure

[![PyPI](https://img.shields.io/pypi/v/datasette-rure.svg)](https://pypi.org/project/datasette-rure/)
[![CircleCI](https://circleci.com/gh/simonw/datasette-rure.svg?style=svg)](https://circleci.com/gh/simonw/datasette-rure)
[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/simonw/datasette-rure/blob/master/LICENSE)

Datasette plugin that adds a custom SQL function for executing matches using the Rust regular expression engine

Install this plugin in the same environment as Datasette to enable the `regexp()` SQL function.

    $ pip install datasette-rure

Now you can run queries like this:

    select regexp('hi.*there', 'hi there')
    select 'hi there' REGEXP 'hi.*there'

Uses https://github.com/davidblewett/rure-python


