[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
- glob(pattern), Aditya Bhagwat, 2010/02/15
- Re: glob(pattern),
Ben Abbott <=
- Re: glob(pattern), Aditya Bhagwat, 2010/02/16
- Re: glob(pattern), Ben Abbott, 2010/02/16
- Re: glob(pattern), John W. Eaton, 2010/02/16
- Re: glob(pattern), Aditya Bhagwat, 2010/02/17
- Re: glob(pattern), Thorsten Meyer, 2010/02/17
- Re: glob(pattern), John W. Eaton, 2010/02/17
- Re: glob(pattern), Thorsten Meyer, 2010/02/18
- Re: glob(pattern), John W. Eaton, 2010/02/18