All Downloads are FREE. Search and download functionalities are using the official Maven repository.

elemental2.core.JsRegExp Maven / Gradle / Ivy

There is a newer version: 2.27
Show newest version
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) {}

  @Deprecated
  public native void compile(String pattern, Object flags);

  @Deprecated
  public native void compile(String pattern);

  public native RegExpResult exec(String str);

  public native boolean test(String str);

  @JsMethod(name = "toString")
  public native String toString_();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy