- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for testPatternSplitWordBoundary (0.21 seconds)
-
guava-tests/test/com/google/common/base/SplitterTest.java
@GwtIncompatible // java.util.regex.Pattern @AndroidIncompatible // Bug in older versions of Android we test against, since fixed. public void testPatternSplitWordBoundary() { String string = "foo<bar>bletch"; Iterable<String> words = Splitter.on(Pattern.compile("\\b")).split(string); assertThat(words).containsExactly("foo", "<", "bar", ">", "bletch").inOrder(); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 29.7K bytes - Click Count (0)