joel-simon / Basic-JS-Regex-Matcher

Basic Regex Accept Function

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#Overview

This is a simple JS based Regular Expression validator. The Validator accepts 3 symbols: "",".", and"c", where "" represents any number,n, of characters, "." represents any single character, and "c" represents a specific character.

#Installation Include in your html document:

<script type="opensource1.js"></script>

#Usage

doesMatch(pattern, word)

Where pattern is is the Regular expression you are matching against and word is an input string.

#Examples

doesMatch(ab*cd.t', 'abksdhfkjdsfcdcdcdgt'); doesMatch('ab.*cd***d', 'abskjfhcdlcdsjddd'))

###Fine Print

Current Version: 0.0.1

Download from github: github.com/sloth6/Intro-to-Open-Source

License: GNU 3.0

Compatibility: Should work with all popular JS based frameworks and browsers.

About

Basic Regex Accept Function


Languages

Language:JavaScript 100.0%