Skip to content

hanyuone/bullseye

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bullseye

Bullseye is a new flavour of regex for Dart, because JavaScript's regex flavour sucks quite a lot.

Some things Bullseye has that JS regex doesn't:

  • Lookbehinds (positive and negative)
  • Variable-length lookaheads

Possible features:

  • Named capturing groups
  • Backtracking
  • Recursion (probably not)

Usage

A simple usage example:

import 'package:bullseye/bullseye.dart';

void main() {
  NewRegex dart = new NewRegex("ab*");

  print(dart.allMatches("ababbaa")); // => ["ab", "abb", "a", "a"]
}

Features and bugs

Please file feature requests and bugs at the issue tracker.

About

A regex flavour written in Dart.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages