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

https://github.com/rileyjshaw/glorious-pattern-matcher

:ab: Inspired by an interview question.
https://github.com/rileyjshaw/glorious-pattern-matcher

Last synced: 7 months ago
JSON representation

:ab: Inspired by an interview question.

Awesome Lists containing this project

README

          

glorious-pattern-matcher
========================

Live version [here](http://rileyjshaw.com/glorious-pattern-matcher).

## Glorious Pattern Matcher
Takes a series of characters ('abcad') and a series of space-delimited words ('red blue green red redux') and checks if they match the same sequence.

## Mega-Glorious Pattern Matcher
Takes a series of characters ('abcad') and a series of **non**-space-delimited words ('redbluegreenredredux') and checks if they match the same sequence. Hardcore.