CSC/ECE 517 Fall 2009/wiki1b 5 j8

From Expertiza_Wiki
Jump to navigation Jump to search

Regular Expressions

Who Compare the support for regular expressions in Ruby, Python, PHP, Perl 5, and any other appropriate scripting language with each other. Also compare the syntactic features in these languages with Java's package-based support. What features and syntax do the languages have in common? Are some features supported by some languages and not by others? How robust and easy-to-use are regular expressions in all these languages?

Regular expressions are a critical part of most modern programming languages especially ones that deal string processing as a core part of their functionality. Although using regular expressions can change from language to language, the general principle is the same and similar syntax can generally used across the board.


Usage

Java

Perl

Ruby

Python

Php