www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 17525] New: std.algorithm.searching.skipOver should have a

https://issues.dlang.org/show_bug.cgi?id=17525

          Issue ID: 17525
           Summary: std.algorithm.searching.skipOver should have a single
                    argument with pred version
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: phobos
          Assignee: nobody puremagic.com
          Reporter: jack jackstouffer.com

A la startsWith and endsWith, I should be able to do the following with
skipOver

    auto s = "\tvalue";
    assert(s.skipOver!isWhite.equal("value"));

--
Jun 19