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

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

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

Matcher.hasAnchoringBounds介绍

[英]Returns true if this matcher has anchoring bounds enabled. When anchoring bounds are enabled, the start and end of the input match the '^' and '$' meta-characters, otherwise not. Anchoring bounds are enabled by default.
[中]

代码示例

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

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

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

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

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

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

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

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

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

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

相关文章