Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/lovasoa/wordsearch
- Owner: lovasoa
- License: bsd-3-clause
- Created: 2019-12-05T18:53:50.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-07-13T05:14:02.000Z (4 months ago)
- Last Synced: 2024-07-14T05:47:54.488Z (4 months ago)
- Topics: dictionaries, poetry, regex, regular-expression, search, svelte, wordsearch
- Language: Svelte
- Homepage: https://regex-wordsearch.ophir.dev/?lang=en
- Size: 2.62 MB
- Stars: 9
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.