Codename One Regular Expressions Library
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build
dist
lib
nbproject
src/me/regexp
README.md
Stubber.jar
build.xml
codenameone_library.properties
manifest.mf
manifest.properties

README.md

Codename One Regex Library

This is a port of the regexp-me project with minor changes to improve performance on Codename One, and wrapped as a cn1lib library.

Motivation

Currently (as of August 26, 2013), the Codename One String class doesn't include regex support. This provides cross-platform, lightweight regular expression support.

Current Status

I whipped this up pretty quickly. So far I have only tested it in the simulator and on the iPhone (using a build server debug build). I don't see any reason why it shouldn't work on all platforms, though. If you have problems on any platform just let me know.

Installation

  1. Download CodenameOneRegexLib.cn1lib and copy it into your application's Netbeans project's lib directory.
  2. In the "Projects" explorer in Netbeans, right click on your project, and select "Refresh Libs"

Usage

For full usage examples see the regexp-me project page and javadocs.

Contact

shannah78