BoxLang 🚀 A New JVM Dynamic Language Learn More...

cfGrep

v0.0.0 Modules

cfGrep

A simple CFC to run regex pattern matching on a file using Java Streams.

<cfscript>

objGrep = new grep();

grep1 = objGrep
    .pattern( '.*public.*' )
    .file( 'grep.cfc' )
    .grep();

writedump( grep1 );

</cfscript>
<cfscript>

grep2 = objGrep
    .pattern( '^(.+)monkehworks.com' )
    .file( 'grep.cfc' )
    .grep();

writedump( grep2 );

</cfscript>
  •   Matt Gifford
  • Published
  • 0.0.0 is the latest of 1 release(s)
    Published
  • Published on {{ getFullDate("2019-10-29T13:43:44Z") }}

$ box install cfgrep

No collaborators yet.
  • {{ getFullDate("2019-10-29T13:43:44Z") }}
  • {{ getFullDate("2019-10-29T13:43:44Z") }}
  • 1,553
  • 7