Posts by Gabriel Chiquini • 11 points
3 posts
-
0
votes1
answer167
viewsA: Regex Regular Expression - Include parentheses instead of quotation marks
I don’t know much about Delphi, but I took a peek. The regex seems to be simple if all its variables have that name (more examples were missing). CommandText = '(.*)' The command would be…
regexanswered Gabriel Chiquini 11 -
1
votes5
answers2539
viewsA: Regex to check if string does not end with certain characters
I believe you are reading the file line by line, so using this should solve. The simplest regex I ever imagined was (.*(?!(M3|JJ))..|^.)$. .*: Accepts first line characters (?!(M3|JJ)): Checks…
-
0
votes2
answers388
viewsA: Return filled checkbox
To change the status of a checkbox, use $inativo.prop('checked', json.inativo);. The value of a checkbox does not refer to its state, it only indicates what will be passed to the server if it is…