public class RegExStringUtil extends Object
| Constructor and Description |
|---|
RegExStringUtil() |
| Modifier and Type | Method and Description |
|---|---|
static List<SearchLocation> |
search(String strSource,
String strPattern,
boolean bIgnoreCase) |
static List<SearchLocation> |
search(String strSource,
String strPattern,
boolean bIgnoreCase,
int iOffset) |
static List<SearchLocation> |
search(String strSource,
String strPattern,
boolean bIgnoreCase,
int iOffset,
boolean backwards) |
static List<SearchLocation> |
searchIgnoreCase(String strSource,
String strPattern)
Return a list of
SearchLocations representing the occurrences of the
specified pattern in the specified source string. |
public static List<SearchLocation> searchIgnoreCase(String strSource, String strPattern)
SearchLocations representing the occurrences of the
specified pattern in the specified source string.strSource - A string to search.strPattern - A pattern to search for.public static List<SearchLocation> search(String strSource, String strPattern, boolean bIgnoreCase)
public static List<SearchLocation> search(String strSource, String strPattern, boolean bIgnoreCase, int iOffset)
public static List<SearchLocation> search(String strSource, String strPattern, boolean bIgnoreCase, int iOffset, boolean backwards)
Copyright © 2022. All rights reserved.