
FishMonger
Veteran
Oct 17, 2012, 1:59 PM
Views: 4172
|
|
Re: [s660117] Using \? in a variable
|
|
|
I did not test your code. If you want me to test or review your code, you first must post it within code tags which retains the formatting (indentation) and makes your code readable (assuming you actually formatted it correctly). Programming Perl is a great resource book, but not the best choice for learning about regular expressions. If you want a book for that purpose, you should get "Mastering Regular Expressions, 3rd Edition". http://shop.oreilly.com/product/9780596528126.do You can also learn about regex's by reading the documentation that comes with perl. The program that is used to access the docs is 'perldoc'. If you issue the command 'perldoc perl', you'll get an index of the documentation. There are several related to regex's, such as 'perldoc perlretut', and 'perldoc perlre'.
(This post was edited by FishMonger on Oct 17, 2012, 1:59 PM)
|