patsubst 0.1.0 copy "patsubst: ^0.1.0" to clipboard
patsubst: ^0.1.0 copied to clipboard

discontinued

Pattern based text substitution in strings.

patsubst #

Pattern based text substitution in strings.

Examples:

import "package:patsubst/patsubst.dart";

void main() {
  var subst = patsubst("foo/%/%1.cc", "wow/%/with/kara_%2.obj");
  var source = "foo/bar/baz1.cc";
  var result = subst.replace(source);
  print("$source => $result");  
}

Output:

foo/bar/baz1.cc => wow/bar/with/kara_baz2.obj

0
likes
30
pub points
3%
popularity

Publisher

unverified uploader

Pattern based text substitution in strings.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

More

Packages that depend on patsubst