()
| 2524 | } |
| 2525 | |
| 2526 | func ExamplePipe_RejectRegexp() { |
| 2527 | re := regexp.MustCompile("w.*d") |
| 2528 | script.Echo("hello\nworld\n").RejectRegexp(re).Stdout() |
| 2529 | // Output: |
| 2530 | // hello |
| 2531 | } |
| 2532 | |
| 2533 | func ExamplePipe_Replace() { |
| 2534 | script.Echo("a\nb\nc\n").Replace("b", "replacement").Stdout() |
nothing calls this directly
no test coverage detected
searching dependent graphs…