Compare commits
No commits in common. "5050760b4e25dde3917e5f6d5c672dff1384457d" and "cf3ad1cc3266af839574165fe1bf51e180e428cd" have entirely different histories.
5050760b4e
...
cf3ad1cc32
|
|
@ -1,7 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Installation/Mise a jour d'un apk
|
||||
pm install -r /mnt/sdcard/MyApp.apk
|
||||
|
||||
# Lancement d'une appli
|
||||
am start -n fr.my.app/.LaunchActivity
|
||||
|
|
@ -5,15 +5,3 @@
|
|||
public static boolean isIp(String ip) {
|
||||
return ip != null && !ip.equals("") && ip.matches("^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$");
|
||||
}
|
||||
|
||||
|
||||
public static void extractFromRegex(String str) {
|
||||
Pattern pattern = Pattern.compile(".*@(.*)");
|
||||
Matcher matcher = pattern.matcher(str);
|
||||
|
||||
while (matcher.find()) {
|
||||
if (matcher.groupCount() == 1) {
|
||||
System.out.println("domaine: "+matcher.group(1));
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue