Hi Stilianos,
On Thu, Aug 19, 2004 at 12:53:31PM -0500, Stilianos Kesisoglou wrote:
> Hi,
>
> The TString class has a nice feature which is the detection
> of a regular expression within a string:
Just to mention that the ROOT Ruby module supports natively (via Ruby)
regular expressions. A small example:
require 'libRuby'
graphs = ["Main Plot", "Background Plot", "Noise Plot"]
graphs.each do |g|
if g =~ /^Main/
# Draw main plot here...
main = TCanvas.new("main", g, 10, 10, 400, 400)
# ...
main.Update
end
end
gApplication.Run
Regards,
--
University of Athens I bet the human brain
Physics Department is a kludge --Marvin Minsky
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:09 MET