[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #60157] save() expressive filtering when using
From: |
N Kando |
Subject: |
[Octave-bug-tracker] [bug #60157] save() expressive filtering when using brackets [ ] does not appear to work. |
Date: |
Tue, 2 Mar 2021 15:16:51 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36 |
URL:
<https://savannah.gnu.org/bugs/?60157>
Summary: save() expressive filtering when using brackets [ ]
does not appear to work.
Project: GNU Octave
Submitted by: itskando
Submitted on: Tue 02 Mar 2021 08:16:49 PM UTC
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Unexpected Error or Warning
Status: None
Assigned to: None
Originator Name: itskando
Originator Email:
Open/Closed: Open
Release: 6.1.0
Discussion Lock: Any
Operating System: Any
_______________________________________________________
Details:
The help documentation regarding save() includes the following:
'[ LIST ]'
Match the list of characters specified by LIST. If the first
character is '!' or '^', match all characters except those
specified by LIST. For example, the pattern '[a-zA-Z]' will
match all lower and uppercase alphabetic characters.
Wildcards may also be used in the field name specifications
when using the '-struct' modifier (but not in the struct name
itself).
What is the syntax of LIST? Is it possible to exclude certain patterns? I was
not able to make the 'except' characters work:
>> clear
>> 1
ans = 1
>> save('trash.txt','a*')
>>
>> save('trash.txt','a')
warning: save: no such variable 'a'
>> save('trash.txt','[a]')
warning: save: no such variable '[a]'
>> save('trash.txt','[!a*]')
warning: save: no such variable '[!a*]'
>> save('trash.txt','[!b*]')
warning: save: no such variable '[!b*]'
>> save('trash.txt','![b]')
warning: save: no such variable '![b]'
>> save('trash.txt','!b')
warning: save: no such variable '!b'
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?60157>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #60157] save() expressive filtering when using brackets [ ] does not appear to work.,
N Kando <=
- [Octave-bug-tracker] [bug #60157] save() expressive filtering when using brackets [ ] does not appear to work., Rik, 2021/03/02
- [Octave-bug-tracker] [bug #60157] save() expressive filtering when using brackets [ ] does not appear to work., N Kando, 2021/03/02
- [Octave-bug-tracker] [bug #60157] save() expressive filtering when using brackets [ ] does not appear to work., Rik, 2021/03/02
- [Octave-bug-tracker] [bug #60157] save() expressive filtering when using brackets [ ] does not appear to work., Markus Mützel, 2021/03/07
- [Octave-bug-tracker] [bug #60157] save() expressive filtering when using brackets [ ] does not appear to work., N Kando, 2021/03/08
- [Octave-bug-tracker] [bug #60157] save() expressive filtering when using brackets [ ] does not appear to work., N Kando, 2021/03/08
- [Octave-bug-tracker] [bug #60157] save() expressive filtering when using brackets [ ] does not appear to work., Markus Mützel, 2021/03/08
- [Octave-bug-tracker] [bug #60157] save() expressive filtering when using brackets [ ] does not appear to work., N Kando, 2021/03/08
- [Octave-bug-tracker] [bug #60157] save() expressive filtering when using brackets [ ] does not appear to work., Markus Mützel, 2021/03/08
- [Octave-bug-tracker] [bug #60157] save() expressive filtering when using brackets [ ] does not appear to work., Rik, 2021/03/08