Jump to content

General Programming Discussions

Have a programming question or topic that doesn't quite fit into the other categories? This is the place for general discussions, broad questions, and anything that spans multiple programming disciplines or doesn't belong elsewhere.

  1. Did you ever learn what ^(?i)(?<word>\p{L}+\d{2,4}(?:-\w+)?)(?=\s|$)(?:.*?\k<word>.*)+$ would ever do? Do you want to? I thought I would put together a document that was created almost a decade ago involving Regular Expressions (regex). If anyone is interested, you can view the tutorial: Regular Expression Tutorial pg1 Different Regular Expression Engines pg 2 Literal Characters pg 3 Special Characters pg 4 Non-Printable Characters pg 5 First Look at How a Regex Engine Works Internally pg 6 Character Classes or Character Sets pg 7 The Dot Matches (Almost) Any Character pg 8 Start of String and End of String Anchors pg 9 Word Boundaries pg 10 Alternation with t…

    • 0 replies
    • 121 views
  2. If you’ve been exploring different programming languages, you might have noticed they share a lot of foundational concepts. Despite their differences in syntax or specific use cases, many languages are built on the same core principles. Let’s take a closer look at what makes them similar. Common Features in Programming Languages 1. Variables and Data Types Almost all programming languages allow you to store data in variables, often categorized into types like strings, integers, or floats. Python: greeting = "Hello" C char greeting[] = "Hello"; Swift: let greeting = "Hello" 2. Loops Loops are a universal construct for repeating ta…

Important Information

Terms of Use Privacy Policy Guidelines We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.