
    Mg                     Z    S SK Jr  S SKJr  S SKJrJr  \" SS9\" S5      S 5       5       rg)	    )system)Fore)pluginrequiregrep)nativematchc                     U R                  S[        R                  5      nU R                  S[        R                  5      nUR	                  5       nUS:X  a  U R                  S5        g[        SU-   S-   U-   5        g)zV
Matches a string pattern in a file using regex.
Type "match" and you'll be prompted.
zEnter file name?:
zEnter string:
 zInvalid Filenamezgrep 'z' N)inputr   REDGREENstripsayr   )jarvisstring	file_namepatterns       ;/Users/admin/workspace/ai/Jarvis/jarviscli/plugins/match.pyr	   r	      se     2DHH=Ill,djj9G!IB

%&x'!D(945    N)osr   coloramar   r   r   r	    r   r   <module>r      s3      " 	6  6r   