Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/google/re2j
/ toString
Method
toString
java/com/google/re2j/Regexp.java:92–97 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
90
}
91
92
@Override
93
public
String toString() {
94
StringBuilder out =
new
StringBuilder();
95
appendTo(out);
96
return
out.toString();
97
}
98
99
private
static
void
quoteIfHyphen(StringBuilder out,
int
rune) {
100
if
(rune ==
'-'
) {
Callers
1
testToStringEquivalentParse
Method · 0.95
Calls
1
appendTo
Method · 0.95
Tested by
1
testToStringEquivalentParse
Method · 0.76