h****a 发帖数: 70 | 1 Which of the following regular expressions matches the entire string?
proc: warning 349 com.service.Register_Users: unable to connect
The regular expression syntax is that used in grep, perl, python, and ruby.
proc[a-z:0-9\.\s]Register_Users: [a-z\s]
(a-z)+: warning (0-9)+ (a-zA-Z)+: .*
[a-z]+: (warning|error) [0-9]+ [a-zA-Z_\.]+: .*
proc: warning [0-9]+ [a-zA-Z_\.]+: .+
proc: [a-z_]+[a-z]+: .+
None of the above. | F*V 发帖数: 3978 | 2
this one seems good
【在 h****a 的大作中提到】 : Which of the following regular expressions matches the entire string? : proc: warning 349 com.service.Register_Users: unable to connect : The regular expression syntax is that used in grep, perl, python, and ruby. : proc[a-z:0-9\.\s]Register_Users: [a-z\s] : (a-z)+: warning (0-9)+ (a-zA-Z)+: .* : [a-z]+: (warning|error) [0-9]+ [a-zA-Z_\.]+: .* : proc: warning [0-9]+ [a-zA-Z_\.]+: .+ : proc: [a-z_]+[a-z]+: .+ : None of the above.
|
|