help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: glob(pattern)


From: Ben Abbott
Subject: Re: glob(pattern)
Date: Mon, 15 Feb 2010 14:38:49 -0500

On Monday, February 15, 2010, at 01:41PM, "Aditya Bhagwat" <address@hidden> 
wrote:
>Dear all,
>
>In which format should the pattern from 'glob(pattern)' exactly be specified?
>
>I noticed that it isn't understood as a regex pattern. E.g., 'glob(.*)' is
>not understood as "search for a string consisting of any character zero or
>more times". Instead, it is understood as "search for a string starting
>with a dot and any other character".
>
>Can someone shed some more light on the spelling and syntaxis to be used
>in the 'pattern' argument from glob(pattern)?
>
>Many thanks,
>
>Adi

Did you try  ...

    glob ('.*')

Ben


reply via email to

[Prev in Thread] Current Thread [Next in Thread]