public bool TryMatchA()

in src/PSDocs/Pipeline/PathBuilder.cs [505:536]


            public bool TryMatchA(PathStream other, int start)
            {
                var offset = start;
                do
                {
                    // Determine if fully matched to end or the next any match
                    if (other.IsWildcardAA(offset))
                    {
                        other.Skip(offset);
                        return true;
                    }
                    //if (other.IsCharacterMatch(offset))

                    // Try to match the remaining
                    if (TryMatch(other, offset))
                    {
                        offset++;
                    }
                    else
                    {
                        offset = start;
                    }

                    if (offset + other._Position >= other._Path.Length)
                    {
                        Next();
                        other.Skip(offset);
                        return true;
                    }
                } while (Next());
                return false;
            }