You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
files() currently uses a very rudimentary globbing implementation wherein only the final portion of the given pattern can contain wildcards. Any directory information in the pattern is used verbatim. With the introduction of FS.match(), there is now a much more powerful pattern matcher built in which can support, e.g. globstars (**) and bracket notation. Consider using that for files() as well.
This is technically a breaking change, but the existing pattern structure is so simple that most existing Cellscripts shouldn't be affected.
The text was updated successfully, but these errors were encountered:
files()
currently uses a very rudimentary globbing implementation wherein only the final portion of the given pattern can contain wildcards. Any directory information in the pattern is used verbatim. With the introduction ofFS.match()
, there is now a much more powerful pattern matcher built in which can support, e.g. globstars (**
) and bracket notation. Consider using that forfiles()
as well.This is technically a breaking change, but the existing pattern structure is so simple that most existing Cellscripts shouldn't be affected.
The text was updated successfully, but these errors were encountered: