Categorygithub.com/cheatcoder/livereg
repositorypackage
0.0.0-20210329205845-ae08e8c1ec5c
Repository: https://github.com/cheatcoder/livereg.git
Documentation: pkg.go.dev

# README

livereg

PkgGoDev

Test the Regexp with live data and work with the found items (ESC key to leave the regexp input) after found the right regexp

 package main
 
 import(
    "fmt"
    "log"
    
    "github.com/CheatCoder/livereg"
 )
 
 func main(){
    text,err := livereg.NewStringReg("Write Here your Text or give it with a String Variable - foo bar foobar")
    if err != nil{
      log.Panic(err)
    }
    for _,val := range text {
      fmt.Println(string(text))
    }
 }