Posts

Showing posts from October, 2020

What is RegEx? Regular Expression in Python & Meta Characters

Image
What is RegEx? A  regular expression  ( regex ,  regexp, or re )  is a special sequence of characters that helps you match or find other strings or sets of strings, using a specialized syntax held in a pattern.  Regular expression  patterns are assembled into a set of byte codes which are then executed by a matching engine written in  C . Regular expressions are widely used in the world of  UNIX . Now let’s understand simple basic regular expression through the following image.   The  caret sign   (^)  serves two purposes. Here, in this figure, it’s checking for the string that doesn’t contain upper case, lower case, digits, underscore and space in the strings. In short, we can say that it is simply matching for special characters in the given string. If we use caret outside the square brackets, it will simply check for the starting of the string. An example of a " proper "  email-matching regex  (like the one in the exercise), see below: import re input_user = input("en

A BETTER INTRODUCTION TO REACT

Image
  AN OVERVIEW OF ReactJS React (also known as React.js or ReactJS) is a library of javascript that is used for building user interfaces. It is maintained by Facebook and a community of individual developers and companies. The most significant features of React is a major reality or the fact that you can generate components, which are like custom, reusable HTML elements that swiftly and efficiently develop the user's interfaces. React uses a declarative paradigm that makes it quite easier for your application and aims to be both sufficient and more flexible. It is an open-source, component-based front end library of javascript that is only reliable for the view layer of the application. And if talk about the declarative view that makes your code easier and more predictable to debug. Besides, React streamlines how the data is stored and handled using the state and props. Subsequently knowing the significant sketch of React or React js, it’s time to take a dive and know some of its be