Đang chuẩn bị liên kết để tải về tài liệu:
Professional Information Technology-Programming Book part 96
Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
Tham khảo tài liệu 'professional information technology-programming book part 96', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | . matches any character alphabetic characters digits and even . itself sales.xls sales1.xls orders3.xls sales2.xls sales3.xls apac1.xls europe2.xls na1.xls na2.xls sa1.xls sales. sales.xls sales1.xls orders3.xls sales2.xls sales3.xls apac1.xls europe2.xls na1.xls na2.xls sa1.xls This example contains one additional file sales.xls. The file was matched by the pattern sales. as . matches any character. Multiple .s may be used either together one after the other using . will match any two characters next to each other or in different locations in the pattern. Let s look at another example using the same text. This time you need to find all files for North America na or South America sa regardless of what digit comes next sales1.xls orders3.xls sales2.xls sales3.xls apac1.xls europe2.xls na1.xls na2.xls sa1.xls .a. sales1.xls orders3.xls sales2.xls sales3.xls apac1.xls europe2.xls na1.xls na2.xls sa1.xls The regex .a. did indeed find na1 na2 and sa1 but it also found four other matches that it was not supposed to. Why Because the pattern matches any three characters so long as the middle one is a. What is needed is a pattern that matches .a. followed by a period. Here is another try .