From d7f381254270028c7d239463521005f576575151 Mon Sep 17 00:00:00 2001 From: "jake%acutex.net" <> Date: Sat, 19 Jan 2002 07:26:39 +0000 Subject: Latest version of compiled docs (picking up recent SGML changes). --- docs/html/bzhacking.html | 194 ++++++++++++++++++++++++++++++++--------------- 1 file changed, 134 insertions(+), 60 deletions(-) (limited to 'docs/html/bzhacking.html') diff --git a/docs/html/bzhacking.html b/docs/html/bzhacking.html index f867ff5bd..6727dfa88 100644 --- a/docs/html/bzhacking.html +++ b/docs/html/bzhacking.html @@ -19,7 +19,7 @@ REL="NEXT" TITLE="GNU Free Documentation License" HREF="gfdl.html">
The following is a guide for reviewers when checking code into Bugzilla's +> The following is a guide for reviewers when checking code into Bugzilla's CVS repostory at mozilla.org. If you wish to submit patches to Bugzilla, you should follow the rules and style conventions below. Any code that does not adhere to these basic rules will not be added to Bugzilla's codebase.
Usage of variables in Regular Expressions +> Usage of variables in Regular Expressions
It is very important that you don't use a variable in a regular +> It is very important that you don't use a variable in a regular expression unless that variable is supposed to contain an expression. This especially applies when using grep. You should use:
grep ($_ eq $value, @array); +CLASS="programlisting" +> grep ($_ eq $value, @array); |
grep (/$value/, @array); +CLASS="programlisting" +> grep (/$value/, @array); |
if ($var) { +CLASS="programlisting" +> if ($var) { print "The variable is true"; } else { @@ -252,20 +254,20 @@ else { >
|