irrec

irrec

  • Docs
  • API
  • GitHub

›getting started

getting started

  • overview
  • getting irrec

usage

  • examples
  • regex explorer

more information

  • warnings and limitations
  • performance
  • inspiration and credits

getting irrec

If you are using SBT, you can add irrec as a dependency to your project with:

libraryDependencies ++= Seq(
  // for basic functionality
  "net.ceedubs" %% "irrec-parser" % "0.0.0+1-99fa3c91-SNAPSHOT",
  // for Scalacheck generators
  "net.ceedubs" %% "irrec-regex-gen" % "0.0.0+1-99fa3c91-SNAPSHOT" % Test
)

In addition to bringing in core functionality, the irrec-parser module provides support for creating regexes from strings. If you are okay with inheriting a fastparse dependency, then it's probably the way to go. If you don't want to inherit this dependency and plan to create regexes via the DSL, then you can depend on iirec-regex.

Scala.js

Irrec is cross-published for Scala.js, and you can depend on it from your Scala.js project in the usual way (use %%% instead of %% when specifying the dependency).

← overviewexamples →
irrec
Getting StartedGuideRegular Expression Explorer
GitHubmore information
Copyright © 2021 Cody Allen