I'm french, sorry for my english.
I release my project, a password manager : Password Keeper
First I would like to thanks Guinness and Melba23 for their help, and I'm very sorry for those I forget, please remind me to add you.
Well my program manage and crypt passwords, first I understand if you don't trust me for this kind of sensible software, but I remember you that all the the source files are at your disposal, fell free to explore them.
The login is : admin and you can change it later
How it work ? see Methode de cryptage en BDD.pdf in french
The main interface
You can obviously add,modify and delete your entry, also you can search with keywords
A password generator is included
I won't update it anymore.
It's a BSD license.
Autoit version : 184.108.40.206
Have a good day.
Methode de cryptage en BDD.pdf Passwordkeeper.7z
Is there a way to output the regex matches into a file?
I have a script to compare two files and check for regex matches.
I want to output the matching regex of 'testexample.txt' to another file.
#include <MsgBoxConstants.au3> #include <Array.au3> $Read = FileReadToArray("C:\Users\admin\Documents\testexample.txt") $Dictionary = FileReadToArray("C:\Users\admin\Documents\example.txt") For $p = 0 To UBound($Dictionary) - 1 Step 1 $pattern = $Dictionary[$p] For $i = 0 To UBound($Read) - 1 Step 1 $regex = $Read[$i] If StringRegExp($regex, $pattern, 0) Then MsgBox(0, "ResultsPass", "The string is in the file, highlighted strings: " ) Else MsgBox(0, "ResultsFail", "The string isn't in the file.") EndIf Next Next
I need some help to parse the Green highlighted value with from below text:
RESISTOR THICK FILM 4.64K ±1% 1/4W ±100PPM/°C 1206 SMT
RESISTOR THICK FILM 3.83K ±1% 1/4W ±100PPM/°C 1206 SMT
RESISTOR CARBON FILM 22K ±10% 1/2W AXIAL THT
RESISTOR WIREWOUND 22 ±5% 3W ±30PPM/°C AXIAL THT
RESISTOR METAL OXIDE 4.7K ±5% 2 W ±300PPM/°C AXIAL THT
RESISTOR THICK FILM 0 1/8W 0805 SMT
I am using positive look behind.:
(?<=FILM|WOUND|OXIDE).+ Can only pull this off:
4.64K ±1% 1/4W ±100PPM/°C 1206 SMT 3.83K ±1% 1/4W ±100PPM/°C 1206 SMT 22K ±10% 1/2W AXIAL THT 22 ±5% 3W ±30PPM/°C AXIAL THT 4.7K ±5% 2 W ±300PPM/°C AXIAL THT 0 1/8W 0805 SMT I'm trying the \b word boundary to no avail at this point. Appreciate if anyone would guide me on this?