java.util.regex.Matcher.hasTransparentBounds()方法的使用及代码示例

x33g5p2x  于2022-01-16 转载在 其他  
字(1.4k)|赞(0)|评价(0)|浏览(96)

本文整理了Java中java.util.regex.Matcher.hasTransparentBounds()方法的一些代码示例,展示了Matcher.hasTransparentBounds()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Matcher.hasTransparentBounds()方法的具体详情如下:
包路径:java.util.regex.Matcher
类名称:Matcher
方法名:hasTransparentBounds

Matcher.hasTransparentBounds介绍

[英]Returns true if this matcher has transparent bounds enabled. When transparent bounds are enabled, the parts of the input outside the region are subject to lookahead and lookbehind, otherwise they are not. Transparent bounds are disabled by default.
[中]如果此匹配器已启用透明边界,则返回true。当启用透明边界时,区域外的输入部分将受“向前看”和“向后看”约束,否则不受约束。默认情况下禁用透明边界。

代码示例

代码示例来源:origin: kite-sdk/kite

/**
 * Queries the transparency of region bounds for this matcher.
 *
 * @return true iff this matcher is using transparent bounds, false otherwise
 */
public boolean hasTransparentBounds() {
  return matcher.hasTransparentBounds();
}

代码示例来源:origin: org.kitesdk/kite-morphlines-core

/**
 * Queries the transparency of region bounds for this matcher.
 *
 * @return true iff this matcher is using transparent bounds, false otherwise
 */
public boolean hasTransparentBounds() {
  return matcher.hasTransparentBounds();
}

代码示例来源:origin: sonia.regexp/named-regexp

public boolean hasTransparentBounds() {
  return matcher.hasTransparentBounds();
}

代码示例来源:origin: dhanji/loop

public boolean hasTransparentBounds() {
 return matcher.hasTransparentBounds();
}

代码示例来源:origin: net.loomchild/segment

public boolean hasTransparentBounds() {
  return matcher.hasTransparentBounds();
}

相关文章