• Breaking News

    Thursday, December 28, 2017

    What are the most important/fundamental concepts in Computer Science? Computer Science

    What are the most important/fundamental concepts in Computer Science? Computer Science


    What are the most important/fundamental concepts in Computer Science?

    Posted: 27 Dec 2017 02:08 PM PST

    Currently a self-learning coder who would like some information as to foundational concepts that all aspiring computer scientists/CS majors should be aware of.

    Thank you!

    submitted by /u/yunification
    [link] [comments]

    Custom DFA state machine or good old fashioned regex?

    Posted: 27 Dec 2017 12:00 PM PST

    Interfacing with a legacy system that specifies its own regex in the form of:

    'literal'3A'literal'2N

    Where multi character literals can be within single or double quotes (as long as they match), and 3A/N means 3 alpha/number chars. 0A or 0N means it can occur 1 or more time.

    Wondering if there's an easy way to do this with Javascript regexp, or if I should just roll my own state machine to test strings. Not quite sure how to convert that format into JS regexps. They are dynamic and can be anything.

    submitted by /u/djslakor
    [link] [comments]

    No comments:

    Post a Comment