elemental2.core.JsRegExp Maven / Gradle / Ivy
package elemental2.core;
import jsinterop.annotations.JsMethod;
import jsinterop.annotations.JsPackage;
import jsinterop.annotations.JsType;
@JsType(isNative = true, name = "RegExp", namespace = JsPackage.GLOBAL)
public class JsRegExp {
public static String $1;
public static String $2;
public static String $3;
public static String $4;
public static String $5;
public static String $6;
public static String $7;
public static String $8;
public static String $9;
public static String input;
public static String lastMatch;
public static String lastParen;
public static String leftContext;
public static String rightContext;
public String flags;
public boolean global;
public boolean ignoreCase;
public int lastIndex;
public boolean multiline;
public String source;
public boolean sticky;
public JsRegExp() {}
public JsRegExp(Object pattern, Object flags) {}
public JsRegExp(Object pattern) {}
public native void compile(String pattern, Object flags);
public native void compile(String pattern);
public native String[] exec(String str);
public native boolean test(String str);
@JsMethod(name = "toString")
public native String toString_();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy