Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Will-Hartungs-iMac:tmp willh$ cat x.java
- public class x {
- public static void main(String args[]) {
- System.out.println("s = " + args[0] + " - rx: " + args[1]);
- System.out.println(args[0].matches(args[1]));
- }
- }
- Will-Hartungs-iMac:tmp willh$ java x friends "s$"
- s = friends - rx: s$
- false
- Will-Hartungs-iMac:tmp willh$
Add Comment
Please, Sign In to add comment