Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search Coderanch
Advance search
Google search
Register / Login
chrislxd roger
Greenhorn
+ Follow
3
Posts
1
Threads
0
Cows
since Nov 10, 2013
Merit badge:
grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
2
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
Ranch Hand Scavenger Hunt
Number Posts (3/100)
Number Threads Started (1/100)
Number Cows Received (0/5)
Number Likes Received (0/10)
Number Likes Granted (2/20)
Set bumper stickers in profile (0/3)
Report a post to the moderators (0/1)
Edit a wiki page (0/1)
Create a post with an image (0/2)
Greenhorn Scavenger Hunt
First Post
Number Posts (3/10)
Number Threads Started (1/10)
Number Likes Received (0/3)
Number Likes Granted (2/3)
Set bumper stickers in profile (0/1)
Set signature in profile
Search for a post/thread (0/3)
Set a watch on a thread
Save thread as a bookmark
Create a post with an image (0/1)
Recent posts by chrislxd roger
I have some questions about java.util.regex
oh~I see.I appreciate your detailed explanation. ^_^
show more
10 years ago
Programmer Certification (OCPJP)
I have some questions about java.util.regex
Thank you!!!It works.But I really want to know where to use "\xhh".May be an example.Thank you again!
show more
10 years ago
Programmer Certification (OCPJP)
I have some questions about java.util.regex
I want to find Hexadecimal number from a String.So I write this code
import java.util.regex.*; public class Test { public static void main(String[] args) { String s1="sdttg 0x56 0x78"; String value; Pattern p=Pattern.compile("\xhh"); Matcher m = p.matcher(s1); while (m.find()){val =val+m.group();} System.out.println("MATCH: " + val); } }
But Print is "MATCH:",I don't know where trouble is?Can somebody helps me,please?
show more
10 years ago
Programmer Certification (OCPJP)