Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/remapper/src/mod.ts>Regex

A framework for Beat Saber map scripting.
Go to Latest
class Regex
Re-export
import { Regex } from "https://deno.land/x/remapper@2.1.0/src/mod.ts";

Constructors

new
Regex(initial?: string)

Regex wrapper for easier regex statement creation. String together methods to make a statement. You'll want to access the "string" property after.

Properties

string: string

Methods

add(string: string)

Adds a string.

end()

Specifies the end of the entire string.

separate(index?: number)

Refers to seperation of gameObjects: ".[x]". E.X. "Thing.[0]Thing".

Specifies the start with the end of a previous seperator: "]".

vary(number?: number)

Refers to gameObject name variation: " (x)". E.X. "Thing", "Thing (1)".

Tests the regex expression's validity.