nobloat@lemmy.ml to 196@lemmy.blahaj.zoneEnglish · 1 year agoRule.htmllemmy.mlimagemessage-square18fedilinkarrow-up1274arrow-down10
arrow-up1274arrow-down1imageRule.htmllemmy.mlnobloat@lemmy.ml to 196@lemmy.blahaj.zoneEnglish · 1 year agomessage-square18fedilink
minus-squarebfg9k@lemmy.worldlinkfedilinkarrow-up7·1 year agooh you know how to code? name every variable
minus-squareanton@lemmy.blahaj.zonelinkfedilinkarrow-up3·1 year agoThat’s variables and keyword. If you have a regex for a languages keywords you can substract as they are closed under that operation.
minus-squarelseiflinkfedilinkarrow-up2·1 year agogood point. some languages (like rust) also support r# prefix to use a keyword as a variable also
oh you know how to code? name every variable
/^[a-zA-Z_]\w*$/
i think… most languages at least
That’s variables and keyword.
If you have a regex for a languages keywords you can substract as they are closed under that operation.
good point. some languages (like rust) also support
r#
prefix to use a keyword as a variable also