FORGEBOX Enterprise 🚀 - Take your ColdFusion (CFML) Development to Modern Times! Learn More...

cfGrep

v0.0.0 Public

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>

Here are all the versions for this package. Please note that you can leverage CommandBox package versioning to install any package you like. Please refer to our managing package version guide for more information.

Version Created Last Update Published By Stable Actions
Current
0.0.0 Oct 29 2019 01:43 PM Oct 29 2019 01:43 PM

 

  •   Matt Gifford
  • Published
  • 0.0.0 is the latest of 1 release(s)
    Published
  • Published on Oct 29 2019 01:43 PM
No collaborators yet.
  • Oct 29 2019 01:43 PM
  • Oct 29 2019 01:43 PM
  • 73
  • 0
  • 0