Skip to content

osallak/regexEngine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Regex Engine

This is a simple regular expression engine built using JavaScript. It supports the following regular expression syntax:

. (dot) matches any character
* (asterisk) matches zero or more occurrences of the preceding character
? (question mark) matches zero or one occurrence of the preceding character
() (parentheses) can be used for grouping

Usage

To use this engine, you can import it into your JavaScript file as follows:

const regex = require('./regex');

console.log(regex.search('foo.*bar', 'fooxxyybar')); // true

About

simple regex engine made with js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published