Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/lovasoa/wordsearch

Search words by regex
https://github.com/lovasoa/wordsearch

dictionaries poetry regex regular-expression search svelte wordsearch

Last synced: 10 days ago
JSON representation

Search words by regex

Awesome Lists containing this project

README

        

# regex-wordsearch

## Seach dictionary words using [regular expressions](https://en.wikipedia.org/wiki/Regular_expression)

A small web app to search dictionary words by entering a regex.

https://regex-wordsearch.netlify.com/?lang=en

## Technical details

The application is written in JavaScript with the [svelte](https://svelte.dev/) framework.

It has a very simple structure:
- the dictionaries are [simple text files](./public/dicts),
that are [`fetch`ed](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) dynamically.
- on each key stroke, the regular expression is recompiled, and the dictionary is iterated upon until enough matching words are found.