Professional Information Technology-Programming Book part 115

Tham khảo tài liệu 'professional information technology-programming book part 115', 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ả | JavaScript features a global object named RegExp which can be accessed to obtain information about the execution after a regular expression has been executed. The POSIX character classes are not supported. A and Z are not supported. Macromedia ColdFusion ColdFusion provides regular expression support via four functions REFind to perform searches REFindNoCase to perform searches that are not case sensitive REReplace to perform replaces REReplaceNoCase to perform replaces that are not case sensitive Note ColdFusion also supports regular expressions for input validation in the CFINPUT tag. However this tag does not actually process regular expressions rather it simply passes them to generated client-side JavaScript for processing. As such the regular expressions used with CFINPUT are governed by the rules and usage notes that apply to regular expression use in JavaScript. ColdFusion supports regular expressions that are Perl compliant with a few notable exceptions . always matches newlines. When you re using backreferences use n instead of n for backreference variables. ColdFusion escapes all in the replacement string. You do not have to escape backslashes in replacement strings. ColdFusion escapes them with the exception of case-conversion sequences or escaped versions for example u or u . Embedded modifiers i and so on always affect the entire expression even if they are inside a group. Q and the combinations u L and l U are not supported in replacement strings. Lookbehind and is not supported. Conditional processing is not supported. x N p and C are not supported. Note All references to ColdFusion in this book are referring to ColdFusion MX or later. Regular expression processing was completely rewritten in that version and prior versions are not covered here. Macromedia Dreamweaver Macromedia Dreamweaver provides regular expression support for search-and-replace operations. To use regular expressions do the following Select Find and Replace from the Edit menu and

Không thể tạo bản xem trước, hãy bấm tải xuống
TÀI LIỆU MỚI ĐĂNG
10    116    3    02-07-2024
109    358    1    02-07-2024
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.