tfenne/pipebuffer

compile on windows

jb-alvarado opened this issue · 1 comments

Hi,
I have try your code on windows, but I get this error:

error[E0599]: no method named `at` found for type `regex::Captures<'_>` in the current scope
  --> src\main.rs:79:46
   |
79 |             let num : Option<usize> = groups.at(1).unwrap().parse().ok();
   |                                              ^^

error[E0599]: no method named `at` found for type `regex::Captures<'_>` in the current scope
  --> src\main.rs:80:36
   |
80 |             let exp = match groups.at(2) {
   |                                    ^^

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0599`.
error: Could not compile `pipebuffer`.

Is this a windows problem or does this method not work anymore in newer rust version?

It needs regex = "0.1.51"