An open API service indexing awesome lists of open source software.

https://github.com/kajdev/simex

A really bad simple regular expression engine
https://github.com/kajdev/simex

Last synced: 5 months ago
JSON representation

A really bad simple regular expression engine

Awesome Lists containing this project

README

          

# simex
A really bad simple regular expression engine

```
Characters:
* Any character (stops at the first instance of the proceding character or end of string)
? Optional proceding character

Escape with backslash
```

```py
import se
expression = se.compile('some simex that can end with *')
assert expression.findall("some simex that can end with anything!") == ['some simex that can end with anything!']
```

I'm not sure why this exists. It took me like an hour to make.