mirror of
https://github.com/revanced/jadb.git
synced 2025-02-14 02:56:48 +01:00
Remove unnecessary escapes from RegExp
This commit is contained in:
parent
3fd68d337f
commit
e4f4137108
@ -16,7 +16,7 @@ import java.util.regex.Pattern;
|
|||||||
* A class which works with properties, uses getprop and setprop methods of android shell
|
* A class which works with properties, uses getprop and setprop methods of android shell
|
||||||
*/
|
*/
|
||||||
public class PropertyManager {
|
public class PropertyManager {
|
||||||
private final Pattern pattern = Pattern.compile("^\\[([a-zA-Z0-9_.-]*)\\]:.\\[([^\\[\\]]*)\\]");
|
private final Pattern pattern = Pattern.compile("^\\[([a-zA-Z0-9_.-]*)]:.\\[([^\\[\\]]*)]");
|
||||||
private final JadbDevice device;
|
private final JadbDevice device;
|
||||||
|
|
||||||
public PropertyManager(JadbDevice device) {
|
public PropertyManager(JadbDevice device) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user